The main advantage of this mode is the automatic
indentation when you hit return. A blinking mechanism
for parenthesis, brakets and braces is also
implemented. Some key bindings have been defined for
functions, forms and regions.
For more details see mode.sc in the second
part of the document (§5.28 page );
Indentation is done by the return key which inserts a newline character and indents the new line. The Tab key is used to reindent the current line if needed.
Moreover, some global variables are available to customize indentation in comment, string, parenthesis, bracket, brace, statement and function arguments.
Blinking is used to visualize matching parenthesis, brackets or braces. This means that, for instance, if you insert a ')' character, the cursor moves to the corresponding '(' character and comes back to the current position. Blinking is confined to the current page else a message is displayed (i.e. match at line X pos Y).
The following key bindings are also available: