Author Topic: Select the current word  (Read 7718 times)

Offline eddyq

  • Multiple posting newcomer
  • *
  • Posts: 56
Select the current word
« on: January 02, 2013, 09:23:28 pm »
Is there a key shortcut to select the current word (e.g., the ctrl/W in Windows Visual Studio)?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Select the current word
« Reply #1 on: January 03, 2013, 06:25:38 am »
Is there a key shortcut to select the current word (e.g., the ctrl/W in Windows Visual Studio)?
Double-click with the mouse?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline eddyq

  • Multiple posting newcomer
  • *
  • Posts: 56
Re: Select the current word
« Reply #2 on: January 04, 2013, 06:09:36 pm »
I'm asking about a keyboard shortcut, not a mouse solution.

Offline jarod42

  • Multiple posting newcomer
  • *
  • Posts: 87
Re: Select the current word
« Reply #3 on: January 04, 2013, 06:26:26 pm »
Not a one keyboard short-cut, but it should do the job:

Ctrl + left (to go at the beginning of the word).
Ctrl + shift + right (to select until the next word).
(Don't release shift)
shift + left (to unselect the extra space).

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Select the current word
« Reply #4 on: January 04, 2013, 06:33:34 pm »
Not a one keyboard short-cut, but it should do the job:

Ctrl + left (to go at the beginning of the word).
Ctrl + shift + right (to select until the next word).
(Don't release shift)
shift + left (to unselect the extra space).
...using the keymacs plugin you can assign a macro to it.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline eddyq

  • Multiple posting newcomer
  • *
  • Posts: 56
Re: Select the current word
« Reply #5 on: January 04, 2013, 07:22:27 pm »
Cool, I knew about ctrl/left and ctrl/shift/right but I didn't know about shift/left. I'll make a macro to do just that.

Thanks a million.