On this page:
8.1 Shrubbery Support in Dr  Racket
8.2 How to Type «»
8.13.0.1

8 Editor Support🔗ℹ

The shrubbery package includes support for shrubbery syntax coloring and editor operations for DrRacket. Where possible, this section also provides hints for using other editors.

8.1 Shrubbery Support in DrRacket🔗ℹ

Tab cycles through the possible indentations for a line based on preceding lines. The indentation possibilities can be different if a line is empty or starts with | or an operator. If multiple lines are selected, if they start out with a valid indentation relative to that first line, and if all lines can be shifted by the same amount in tandem with the first line, then Tab cycles through possibilities for the first selected line and shifts remaining lines by same amount; otherwise, Tab attempts to indent each line independently.

Meta-A toggles the armor of the currently selected region. Armoring adds «» to make the selected region indentation-insensitive, and unarmoring removes the added «». A potential use of armoring is to protect a region of code while moving it from one context to another context with a different indentation: armor in the source context, copy and reindent with Tab in the target context, and then unarmor.

8.2 How to Type «»ðŸ”—ℹ

The way to type «» on a keyboard depends on your operating system, program editor, and configuration, but here are some possibilities:

See also the Keyboard entry section of the Guillemet article on Wikipedia.