Changing Block Indentation


Home » Support » Index of All Documentation » Wing IDE 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.

Indenting to Match

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.

« 4.11.5. Checking IndentationTable of Contents4.11.7. Indentation Manager »