Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copying tabulated text produces missaligned text. #3779

Closed
skanskan opened this issue Oct 29, 2018 · 1 comment
Closed

Copying tabulated text produces missaligned text. #3779

skanskan opened this issue Oct 29, 2018 · 1 comment

Comments

@skanskan
Copy link

Hello.

This is a small cosmetic bug I see on Rstudio since a long time ago. It happens on all my computers with Windows 10 no matter the version of R and Rstudio you are using.
When you copy a text (code) containing tabulations and paste it on a different tab page the output appears completely missaligned, the space created by the tabulations are much wider and you need to delete it manually.

@jmcphers
Copy link
Member

This is caused by the "reindent on paste" setting. You can disable it in Options -> Code -> Editing -> Auto-indent code after paste

In RStudio 1.3 (not due out for a while) we're adding separate "paste with indent" and "paste without indent" commands so that it isn't necessary to toggle the option to change behavior. See here for more: #3596

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants