User Preferences: Editor

In this dialog it is possible to determine the personal preferences for text in the QlikView editors. These include the editors in the Edit Scriptdialog, the Edit Expression dialog and the macro editor in the Edit Module dialog. Here it is possible to set different preferences in font, font size, font style and font color for a number of different Text Types that can be highlighted in the text box.

Script and Expressions

Normal Text Text that does not belong to any of the categories described below.
Keywords The keywords used in the script, e.g. load, select, directory, semantic, etc.
Comments Comments typed in the script or chart.
Error The errors that QlikView detects in the script or chart expression.
Highlighted Text When approaching a parenthesis with the cursor in the script, the parenthesis, as well as the commas enclosed by it, will be highlighted. Missing parentheses or commas will thus be easily detectable.
Field Names The names of the fields to be loaded and used in charts.
Literals Text to be loaded literally, i.e. as a text string (usually enclosed by single quotation marks).
Functions The functions used in the script, e.g. div, left, if, num, etc. and charts.
File Names The name of the file from which the fields are to be retrieved.
Script Macro The variables used in the script.
Aggregation Functions The aggregations functions used in the expression, e.g. sum, min, max, etc.
Operators The operators used in the script, e.g. +, like, etc. and in expressions.
Table Labels The labels assigned to specific tables.
Set Analysis The set analysis identifiers, modifiers and operators used in the expression.

Module

Normal Text Text that does not belong to any of the categories described below.
Keywords Visual Basic Script reserved keywords.
Highlighted Text When approaching a parenthesis with the cursor in the script, the parenthesis, as well as the commas enclosed by it, will be highlighted. Missing parentheses or commas will thus be easily detectable.

Expression in Chart

Normal Text Text that does not belong to any of the categories described below.
Comments Comments typed in the chart expression.
Error The errors that QlikView detects in the expression, e.g. a missing parenthesis.
Highlighted Text When approaching a parenthesis with the cursor in the expression, the parenthesis, as well as the commas enclosed by it, will be highlighted. Missing parentheses or commas will thus easily be detected.
Field Names The names of the fields used.
Functions QlikView standard function names for chart expressions.
File Name The name of the file from which the fields are to be retrieved.
Aggregation Functions The aggregations functions used in the expression, e.g. sum, min, max, etc.
Operators The operators used in the expression, e. g. +, like, etc.
Set Analysis The set analysis identifiers, modifiers and operators used in the expression.

Base Font for All Types
The font and the font size selected in this group will be applied to all the text types. Properties such as bold, italic and underline can be set individually using the check boxes.

Clicking on the Foreground Color button brings up a color palette where it is possible to pick a predefined color or define a custom foreground color.

To reset values, click the Defaults button.

The following features may also be used in editors:

Function Popup Help Check this alternative to have a small pop-up window appear when typing in a function.
Remember Cursor Position Check this alternative to have the editors for script and macro remember the position of the cursor when leaving the editor. If this feature is not used the cursor will be positioned at the start of the macro module and at the end of the script.
Copy as RTF Check this alternative to have text copied from the editor windows stored in the Clipboard not only as pure text but also as RTF. This makes it possible to paste the text with full formatting into applications supporting RTF import.