Page 1 of 1

Persistent selection in the IDE

Posted: Fri Apr 01, 2022 4:23 pm
by Marc56us
Hello,

When you double-click on a word in the IDE, all occurrences are highlighted, but this highlighting is removed as soon as you click elsewhere.
Is there a function in Scintilla that keeps this highlighting active until you manually deactivate it?

A function exists in Notepad++ where it is possible to mark all occurrences of a searched text ("Mark" tab in the search window). This marks stay until click "Clear all marks"
As Notepad++ also uses Scintilla, this feature may be native?

:wink:

Re: Persistent selection in the IDE

Posted: Fri Apr 01, 2022 6:23 pm
by skywalk
I use this code from Danilo in my Scintilla tool.
; REV: 120518, Danilo, Danilo scintilla hilighter

Re: Persistent selection in the IDE

Posted: Sat Apr 02, 2022 6:52 am
by Marc56us
skywalk wrote: Fri Apr 01, 2022 6:23 pm I use this code from Danilo in my Scintilla tool.
; REV: 120518, Danilo, Danilo scintilla hilighter
Perfect, it's works. Just what I needed! :)
I didn't even have to change a DLL, just compiled the code, installed as a tool and created a shortcut.
In addition, we can highlight text with spaces.
Thanks :wink: