Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: jazzer on May 10, 2007, 08:32:03 am

Title: NEdit-like keys for indenting
Post by: jazzer on May 10, 2007, 08:32:03 am
Hi,

NEdit has the following things for indentation:
Ctrl+(, Ctrl+) - (un)indent by 1 char
Ctrl+Shift+() - (un)indent by 1 tab
these commands work either on strings containing selected characters, or on the current string if there is no selection.

How can I achieve this with Code::Blocks?

I know about Tab and Ctrl+Tab, but they work only for several strings or with the string which is selected as a whole (i.e. I can't (un)indent the current line without making the selecting the whole line), and (un)indents only for tab size, not for 1 char.

Thanks