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

Triple clicking on line also highlights newline, so when copy pasting a newline is inserted #3574

Open
randomcoder67 opened this issue Oct 5, 2023 · 1 comment

Comments

@randomcoder67
Copy link

If you triple click on a line, it will highlight the line, but also the newline character, so when pasting, it would paste as:

this is a line of text

instead of

this is a line of text

Would it be possible/desired to add an option to change this behaviour, so it only copies the text and not the newline? One example of when this can be annoying is copying commands from a file, having an extra newline isn't needed.

@elextr
Copy link
Member

elextr commented Oct 6, 2023

AFAICT this is part of the Scintilla editing widget so it would only be possible if Scintilla provided a method of controlling it.

If "somebody" found out how and made a pull request with an option probably it would be accepted.

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

2 participants