Changing Block Indentation

Index of All Documentation » Wing Pro Reference Manual » Source Code Editor » Indentation »

Wing provides Indent and Outdent commands in the Indentation portion of the Source menu, which increase or decrease the level of indentation for selected blocks of text. All lines that are included in the current text selection are moved, even if the entire line isn't selected.

Indentation placed by these commands will contain either only spaces, only tabs, or a mixture of tabs and spaces, as determined by the method described in Indentation.

The command Indent Lines to Match (also in the Indentation sub-menu) will indent or outdent the current line or selected lines to the level as a unit so that the first line is positioned as it would have been positioned by Wing's auto-indentation facility. This is very useful when moving around blocks of code.