Automatic Indentation

The module editor uses the same automatic indentation as the standard Eclipse text editor, with the following enhancements, so that the programmer can start typing at the correct indentation level right away:

  • When a new line is inserted after a line that ends with a colon, the next line is indented 4 spaces more.
  • When a new line is inserted after a pass or return statement, the next line is indented 4 spaces less.