Author Topic: Two keyboard shortcuts  (Read 3901 times)

ikk

  • Guest
Two keyboard shortcuts
« 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.
« Last Edit: August 16, 2006, 07:34:06 pm by ikk »

sethjackson

  • Guest
Re: Two keyboard shortcuts
« Reply #1 on: August 16, 2006, 07:17:03 pm »

ikk

  • Guest
Re: Two keyboard shortcuts
« Reply #2 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.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Two keyboard shortcuts
« Reply #3 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).
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2186
Re: Two keyboard shortcuts
« Reply #4 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.

Offline kidmosey

  • Multiple posting newcomer
  • *
  • Posts: 95
    • MUSITU International
Re: Two keyboard shortcuts
« Reply #5 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? ;)
3 years until google knows more than god.

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Two keyboard shortcuts
« Reply #6 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]

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2186
Re: Two keyboard shortcuts
« Reply #7 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


Thanks tiwag.

Another addition to the "my_patches" catagory.

ikk

  • Guest
Re: Two keyboard shortcuts
« Reply #8 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?

sethjackson

  • Guest
Re: Two keyboard shortcuts
« Reply #9 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