News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Howto : Highlight all occurrences of currently selected symbol ?

Started by Boo2, August 25, 2010, 06:23:42 PM

Previous topic - Next topic

Boo2

Hi,

Question as title, is it possible to highlight all occurrences of the currently selected symbol ?  I've been using Notepadd++ which automatically highlights a symbol in an edit window wherever it occurs when I double-click anywhere within that symbol.  I'm so used to this facility I will find it really hard to do without, is there any easy way to implement this in Codeblocks if it doesn't already exist ?

Thanks,

Boo

killerbot

it does, dunno bu heart where the option is (I guess either in environment or editor settings). I do think there's also a minimal length.

Jenna

It's in "Settings -> Editor.. -> General settings -> Highlight occurrences".
Minimal length is three characters (hardcoded) to avoid too high system load.

If you use IncrementalSearch with highlight mode, you can start highlighting with the first character, but you have to type the string you want to see in the IncSearch toolbar.