Author Topic: NEdit-like keys for indenting  (Read 3797 times)

Offline jazzer

  • Multiple posting newcomer
  • *
  • Posts: 30
NEdit-like keys for indenting
« 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