Indent Matching

Top  Previous  Next

In a block structured language it is the general practice to indent each block of code to help set it off from the code around it.

 

procedure Test;

begin

if X>Y then

       begin

       X:=Y;

       if Z>I then

               begin

               end;        

       end;

end;

 

To help accomplish this, the editor has a simple, one-key command to align the current line with the line just above it. Typing Ctrl+U will indent the current line to the same column as the line above.