When I call editor.dropSelectionN(int) where int is lower than or equal to the number of selections, nothing happens. I don't get an error message but also nothing is deselected.
Specifically, I want to remove the main selection out of a number of selections. This should be achievable with
When I call editor.dropSelectionN(int) where int is lower than or equal to the number of selections, nothing happens. I don't get an error message but also nothing is deselected.
Specifically, I want to remove the main selection out of a number of selections. This should be achievable with
editor.dropSelectionN(editor.getMainSelection())
as also stated here:
http://permalink.gmane.org/gmane.comp.lib.scintilla.devel/13376
However, dropSelectionN doesn't have any effect when I call it. Am I doing something wrong?
Hi,
npp currently uses scintilla version 3.3.4 whereas the requested function has been introduced with version 3.3.8.
Cheers
Claudia
Hi, and thanks for the answer. I would not have figured that out myself.