Persistent selection in the IDE

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Marc56us
Addict
Addict
Posts: 1600
Joined: Sat Feb 08, 2014 3:26 pm

Persistent selection in the IDE

Post 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:
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Persistent selection in the IDE

Post by skywalk »

I use this code from Danilo in my Scintilla tool.
; REV: 120518, Danilo, Danilo scintilla hilighter
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Marc56us
Addict
Addict
Posts: 1600
Joined: Sat Feb 08, 2014 3:26 pm

Re: Persistent selection in the IDE

Post 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:
Post Reply