Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Pod on January 01, 2010, 05:06:44 pm

Title: Where is incremental search?
Post by: Pod on January 01, 2010, 05:06:44 pm
Hi,

I'm trying out Code::Blocks, but one thing that seems to be missing is Incremental Search? I use this a lot in vim/jedit and I would like to use it in Code::Blocks. A google search reveals that not only has someone asked this before, but that a plugin was made?

http://forums.codeblocks.org/index.php?topic=9289.30

Where has this gone? Or is it still present in Code::Blocks and I just can't find a way to activate it?


Thanks.
Title: Re: Where is incremental search?
Post by: Jenna on January 01, 2010, 05:24:06 pm
Which version of C::B do you use ?

IncrementalSearch is part of the contrib-plugins, default shortcut is "Ctrl+I".
Title: Re: Where is incremental search?
Post by: Pod on January 01, 2010, 05:42:56 pm
Apologies are in order; Even before I read your reply I decided to look at the version, becasue the search is clearly mentioned in the manual. I was using 8.02 from 2008, which is available from http://www.codeblocks.org/downloads/binaries

Why are you guys promoting a 2 year old build?!
Title: Re: Where is incremental search?
Post by: killerbot on January 01, 2010, 05:53:23 pm
actually we promote to download a nightly build ;-)
Title: Re: Where is incremental search?
Post by: Pod on January 01, 2010, 05:54:59 pm
That's what I did in the end :)

Why are the nightly builds not on the download page?

Also:
The widget that contains the search bar has next and previous buttons, but I can't find keyboard equivilents of these? (F3 opens the Ctrl+F dialog :/). One of the major uses of incremental search is that the mouse isn't needed.
Title: Re: Where is incremental search?
Post by: Jenna on January 01, 2010, 05:59:54 pm
If you are in the text-control, just use return to get the next occurrence.
You can not use F3 here, because it's bound to the "normal" search, which belongs to the C::B-core.

I will commit a change, that uses Shift+Return to jump to the previous occurence, soon.
If you select the regex-search (not yet in the manual) you can only jump to the next occurrence due to wxWidgets limitations.
Title: Re: Where is incremental search?
Post by: Pod on January 01, 2010, 07:10:05 pm
Excellent, thankyou :)