Author Topic: Howto : Highlight all occurrences of currently selected symbol ?  (Read 4471 times)

Offline Boo2

  • Multiple posting newcomer
  • *
  • Posts: 11
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

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: Howto : Highlight all occurrences of currently selected symbol ?
« Reply #1 on: August 25, 2010, 06:47:13 pm »
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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Howto : Highlight all occurrences of currently selected symbol ?
« Reply #2 on: August 25, 2010, 09:49:33 pm »
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.