Tips and Tricks

Hot-Keys

To get a pop-up showing the list of available hot-keys and commands, press CTRL+SHIFT+l (or COMMAND+SHIFT+l on a mac)

Word Completion

Word completion is available from within the Textile editor. Press CTRL+. (that is CTRL + ‘.’, the dot character) repeatedly to see available completions from the current cursor position.

Word completion is based on the Hippie algorithm, which finds existing words in the editing context and uses them to create completion proposals.

Spelling

Spell checking is enabled by default in the Textile editor. Pressing CTRL+1 on a spelling issue will provide options for dealing with the spelling problem.

Content Assist

Content assist is available by pressing CTRL+SPACE. Content assist will make suggestions based on the cursor position. If only one proposal is available at the cursor position, the content will be filled in automatically, otherwise a list of proposals is shown.

Continued typing while the proposals are displayed will narrow the list of available choices. A selection can be made with the mouse, or by using the up/down arrows and the enter key.

Suggestions include markup language syntax, document-internal anchor names and word suggestions.

Template-Based Content Assist

Content assist may also make proposals involving templates with variables.

When such a proposal is selected the variables are displayed with a surrounding box. Typing replaces the variable content, the TAB key advances to the next variable position, and the ENTER or ESC keys complete the template editing session. The vertical line displayed at the end of the template shows where the cursor will be located when finished.

Note that while editing a template the standard undo/redo functionality is still available to you.

Selection and Content Assist

Content assist may be invoked with selected text. To do so, select text using the mouse or keyboard, and then press CTRL+SPACE. Content assist is activated with the current selection.

Selecting a template-based content proposal will cause the selected text to be included in the template. The following shows a selection and content assist proposals before selecting a proposal:

The following shows the same text after selecting a proposal:

The selected text in this case is wrapped in ‘*’ characters for the ‘strong’ Textile markup.