Show TOC

Code Template SettingsLocate this document in the navigation structure

Use

You use this function to add, edit, insert and delete code templates.

Prerequisites

In the right-hand corner of the editor screen, choose the Options pushbutton ( ). In the Options dialog box, choose Code Templates.

Figure 1: Code Templates
Features

Templates

You can edit and delete existing templates and add new ones. In the Code text box, you can edit your code. You can also insert predefined tags in the templates or define interactive ones.

Tags

Tag

Effect

Cursor Position

This variable defines where the cursor should be positioned after you insert a template

Date Time

This variable is replaced by the current date and time.

Clipboard

This variable is replaced by the current content of the clipboard.

Surrounded Text

This variable is replaced by the current text selection.

Document Name

This is replaced by the name of the current document.

Interactive

This inserts a generic variable in the template. You can change the name between the percent signs.