0x7c13 / Notepads

A modern, lightweight text editor with a minimalist design.
https://www.NotepadsApp.com
MIT License
8.68k stars 477 forks source link

[Feature request] Improve row and linebreak selection #1161

Closed vajnaivik closed 1 year ago

vajnaivik commented 1 year ago

Is your feature request related to a problem? Please describe. When I'd like to reorder rows or multiple rows in a text document, I can't easily select the text together with the previous linebreak. What happens when selecting a line and moving the mouse up one line, is that:

Describe the solution you'd like In Windows Notepad (and most other text editors), selection with linebreaks feels much more predictable, when moving the mouse up a line, the cursor follows, and only the previous linebreak gets selected. The behavior I mean, is basically what happens when you are the end of a line with the cursor, and press shift + up arrow once (when the previous line is shorter of course).

Describe alternatives you've considered I can use the keyboard alternatively, but that takes extra steps each time, and sometimes that also highlights the following linebreak somehow...

Additional context image image

vajnaivik commented 1 year ago

One other alternative I found is: Starting the selection from the top row, and going to the end of the lower line. This is also cumbersome, because you have to end precisely on the end of the lower line, otherwise the next linebreak will also be selected. image

0x7c13 commented 1 year ago

Try alt + ^ or alt + V (arrow key)

vajnaivik commented 1 year ago

@0x7c13 As I mentioned in the original post, using the keyboard is a viable alternative, but that takes extra steps each time, can't be done without letting go of the mouse and the selection feels inconsistent this way.

0x7c13 commented 1 year ago

This is how the underline WinRT richedit text control implemented by Microsoft. I cannot do anything unless they change the way how it works or giving us option to configure its behavior like what you described earlier.

vajnaivik commented 1 year ago

Well that's too bad, thanks for the reply tho. Should I close the issue than?