|
Block Indent and Outdent
The EditControl supports Visual Studio like block indent and outdent functionality. When a block of code is selected and the Tab key is pressed, the appropriate number of tab spaces are added to the beginning of each line in the selected block. This will move the selected section of code by appropriate number of tab spaces to the right.
Block Indenting in the EditControl
Similarly when the Shift+Tab key combination is used, the tab spaces added previously are removed, and the selected code is moved by appropriate number of tab spaces to the left.
Block Outdenting in the EditControl
Hence the previous indenting action performed by the tab key gets undone by pressing the Shift+Tab keys combination.
|
|
|
|