User forums > Using Code::Blocks

Howto : Highlight all occurrences of currently selected symbol ?

(1/1)

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.

Navigation

[0] Message Index

Go to full version