views:

17

answers:

0

Many editors -- even Scintilla-based ones(e.g. Programmer's notepad) -- allow programmers to copy/cut a text selection by right-clicking the edited document and selecting appropriate lines (copy/cut/...)on a pop-up menu while the mouse cursor NOT within the selection -- it's very convenient. Left-clicking then anywhere in the document removes the selection: so, it's not a persistent selection in the strict sense of the word.

Unfortunately, Npp clears selections even if the right button pressed AND...moves the caret to a new place.

The question is what and where should I correct -- in code (I've compiled a Npp version in Vstudio2008 successfully) or in Npp's xml config files to get Npp to retain selections, and the caret position, as long as my mouse's right button pressed?