While in SCL mode, some keys have been redifined for ease of use. A list of these hotkeys follows.
Key Binding --------------- -------------------------------- C-c d show C-u C-c d unshow C-c h highlight C-u C-c h unhighlight The mouse may also be used to show/highlight objects. S-mouse-1 show S-mouse-2 unshow C-S-mouse-1 highlight C-S-mouse-2 unhighlight C-mouse-1 select M-e The next three hotkeys execute an SCL statement. ESC e This must be done to enter data into c_shape_edit. M-O M See the tutorial more more information. TAB Indents SCl statements. Variables controlling indentation style: scl-indent-level Indentation of Scl statements within surrounding block. The surrounding block's indentation is the indentation of the line on which the open-brace appears. scl-brace-offset Extra indentation for line if it starts with an open brace. LFD Will perform a linefeed with automatic reindentation for the next line. C-x C-r revert-scl C-c r Sends a marked region of text to a temporary file. C-c s Sends a line of data to c_shape_edit. C-down-mouse-1 ignoreComments are delimited with #. A comment alone on the line is indented to the statement indentation level if it starts with a single #. Its indentation is not changed if it starts with ## or is at the beginning of the line.
If you are using emacs19, an SCL menu is added and hilit19 patterns are defined. You must load hilit19 in your personal .emacs file for this feature, however.