Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: ikk on August 16, 2006, 07:09:41 pm

Title: Two keyboard shortcuts
Post by: ikk on August 16, 2006, 07:09:41 pm
Hello,

I'm looking for two keyboard functions:
a. select word under the cursor, same as mouse double click but using only keyboard.
b. quick search, like Ctrl+F3 and Ctrl+Shift+F3 in MSVC 6.0. i know that pressing Ctrl+F opens search dialog and word which was under the cursor is inserted as actual search string. i'd like to have it under one command, without seeing search dialog.

Is there any chance this ll be implemented in new CB version?

C::B is great, im plamning to use it over MSVC.
Title: Re: Two keyboard shortcuts
Post by: sethjackson on August 16, 2006, 07:17:03 pm
Find next F3.
Find previous Shift+F3.

http://wiki.codeblocks.org/index.php?title=Keyboard_Shortcuts
Title: Re: Two keyboard shortcuts
Post by: ikk on August 16, 2006, 07:30:25 pm
Find next F3.
Find previous Shift+F3.

http://wiki.codeblocks.org/index.php?title=Keyboard_Shortcuts

sorry, its not it,
i want to search for what IS under the cursr, not what was previously typed in search dialog,
and without need to open that dialog.
im using windows version maybe in linux its already there.
Title: Re: Two keyboard shortcuts
Post by: thomas on August 16, 2006, 09:46:55 pm
i want to search for what IS under the cursr, not what was previously typed in search dialog,
and without need to open that dialog.
We had this implemented for a while, but many users were unhappy with it, so it was removed again. You'll have to press Ctrl-F again, sorry (but at least the current selection will automatically be filled in).
Title: Re: Two keyboard shortcuts
Post by: Pecan on August 16, 2006, 11:17:58 pm
i want to search for what IS under the cursr, not what was previously typed in search dialog,
and without need to open that dialog.
We had this implemented for a while, but many users were unhappy with it, so it was removed again.
...

I enjoyed that feature also. I always wondered why we couldn't have had an option to turn it on or off.
Title: Re: Two keyboard shortcuts
Post by: kidmosey on August 17, 2006, 07:50:36 am
I enjoyed that feature also. I always wondered why we couldn't have had an option to turn it on or off.

Is ctrl+F3 taken? ;)
Title: Re: Two keyboard shortcuts
Post by: tiwag on August 17, 2006, 08:58:52 am
Hello,

I'm looking for two keyboard functions:
a. select word under the cursor, same as mouse double click but using only keyboard.
b. quick search, like Ctrl+F3 and Ctrl+Shift+F3 in MSVC 6.0. i know that pressing Ctrl+F opens search dialog and word which was under the cursor is inserted as actual search string. i'd like to have it under one command, without seeing search dialog.

Is there any chance this ll be implemented in new CB version?

C::B is great, im plamning to use it over MSVC.

if you are building C::B yourself, you can apply this patch

[attachment deleted by admin]
Title: Re: Two keyboard shortcuts
Post by: Pecan on August 17, 2006, 01:24:14 pm
if you are building C::B yourself, you can apply this patch

http://forums.codeblocks.org/index.php?action=dlattach;topic=3839.0;attach=1368
 (http://forums.codeblocks.org/index.php?action=dlattach;topic=3839.0;attach=1368)

Thanks tiwag.

Another addition to the "my_patches" catagory.
Title: Re: Two keyboard shortcuts
Post by: ikk on August 17, 2006, 03:57:56 pm
thanks for the patch.

where can i get latest source code and info about how to compile CB in Windows?
Title: Re: Two keyboard shortcuts
Post by: sethjackson on August 17, 2006, 06:07:20 pm
thanks for the patch.

where can i get latest source code and info about how to compile CB in Windows?


The wiki of course. :D

http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows