Using Notepad++.
If you select 2 lines (including the EOL), and the caret is at the next line:
Is there a reason for the different results? I'd expect SCI_LINECUT to also delete the current line only.
Thank you.
Deleting a single line is a common basic command that was implemented as SCI_LINEDELETE to emulate other editors. SCI_LINECUT was a new feature to help move code around.
This is not a bug. Discussions belong on the mailing list. https://groups.google.com/g/scintilla-interest
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13921#issuecomment-1793864971
Log in to post a comment.
Deleting a single line is a common basic command that was implemented as SCI_LINEDELETE to emulate other editors. SCI_LINECUT was a new feature to help move code around.
This is not a bug. Discussions belong on the mailing list.
https://groups.google.com/g/scintilla-interest
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13921#issuecomment-1793864971