Home Articles Books Download FAQs Tips

Code Editor: Automatically indenting or un-indenting blocks of code

Keystroke = CTRL + SHIFT + I  (indents)
            CTRL + SHIFT + U  (un-indents)

Highlight a block of code, and then press CTRL + SHIFT + I to indent the entire selection. Press CTRL + SHIFT + U to un-indent the block of code. The Code Editor shifts the entire block by however many spaces you have entered in the Block Indent setting. In BCB 1, this setting is under Options | Environment | Editor. In BCB 3, look under Tool | Environment Options | Editor.



Copyright © 1997-2000 by Harold Howe.
All rights reserved.