News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Tips and Tricks - Double Click a Word - with keyboard?

Started by n0083, June 26, 2008, 06:37:09 PM

Previous topic - Next topic

n0083

Hello,

you know how when you double click a word in code::blocks editor it highlights that word (variable, object, index).  Is there a way to do that with the keyboard?

so for instance if my cursor was after the d in the index displayed by the bar |, if i then issued some keyboard shortcut the word "index" would be selected/highlighted.

some array[ind|ex];


if there is no such thing, that would be rad if it were added.  It is kinda a shortcut trick like copying the current line with ctrl-d.

I love C::B

thanks,

jfouche

Hi

I use CTRL <- / -> (arrows) to move from word to word and CTRL SHIFT <- / -> to select word.
HTH
--
Jérémie