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

What is block selection supposed to be doing in wrapped lines? #5684

Closed
bersbersbers opened this issue May 23, 2019 · 2 comments
Closed

What is block selection supposed to be doing in wrapped lines? #5684

bersbersbers opened this issue May 23, 2019 · 2 comments
Labels

Comments

@bersbersbers
Copy link

bersbersbers commented May 23, 2019

Description of the Issue

Block selection, when started in the second line of a wrapped line, seems to always consider the first line only.

Steps to Reproduce the Issue

  1. Open empty file
  2. Enter Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Z
  3. Make sure line wrapping is on and the line is long enough to be wrapped.
  4. Place cursor at end of line (after Z).
  5. Press Alt-Shift-Left to start a block selection.

Expected Behavior

Z is selected.

Actual Behavior

Some other Y is selected.

Variant

If you have a long first line before the YZ line, also try this:
4. Place cursor at end of YZ line.
5. Press Alt-Shift-Left to start a block selection.
6. Press Alt-Shift-Up to extend the block selection to the first line.

Note that you actually have to press Alt-Shift-Up twice, this is certainly unexpected.

Debug Information

Notepad++ v7.7   (64-bit)
Build time : May 19 2019 - 13:05:35
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll 
@MetaChuh
Copy link

@bersbersbers

this seems to be the same behaviour with scite 4.1.4, which uses the same scintilla engine as notepad++ 7.7, as well as with scintilla 4.1.5.

unfortunately the scintilla editor component is an external project, so we can't do much about it at the notepad++ part.
if you can't work out any workaround with the help of our notepad++ community, please file an issue at the scintilla project.

many thanks for your understanding, our apologies, and best regards.

@bersbersbers
Copy link
Author

Thanks - I reported https://sourceforge.net/p/scintilla/bugs/2105/

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

No branches or pull requests

2 participants