-
-
Notifications
You must be signed in to change notification settings - Fork 833
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
Linebreaks introduced in long lines when selecting text #874
Comments
Use the newer logical line method in pane rather than going via the hyperlink function, so that we can better reason about physical vs. logical line breaks, and get the results very slightly faster too. refs: #874
I've pushed a commit that seems to make this better; it will show up in the nightly downloads in ~30 minutes from now. |
@wez will do, thanks a lot! |
ok, I've tested it with 40cb141 and it looks good now. |
Yeah, this is expected behavior: triple click considers logical lines, but in order to constrain the cost of things like hyperlink rules that operate on logical lines, there is a maximum limit for logical line length. I know this isn't ideal. As a potential alternative, I wanted to share that I use the configuration snippet shown here: together with shell integration also linked in those docs, so that triple click gets me the entire section of text from the input/output semantic zone. I'm going to close this as the original issue is resolved! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Describe the bug
When copying very long lines I get artificial line breaks inserted at wrong places.
Environment (please complete the following information):
To Reproduce
Steps to reproduce the behavior.
I select some very long content and then yank it with the middle-mouse, or I copy it with
ctrl+shift+c
and then paste it withctrl+shift+v
somewhere else then I get additional line breaks in the pasted output.Example:
becomes after the paste:
Resizing the window does a correct reflow and shows that there's no linebreak in the original output (depending on the window width the linebreak changes position)
Configuration
Expected behavior
No line breaks.
The text was updated successfully, but these errors were encountered: