Use this dialog window to specify your script editor preferences.
These settings only apply to the
LN Studio
Script Editor.
- Marker Identifier
- Determines the text that is added in the source code, when you
add maintenance comments.
-
Allowed values
-
Activity
Name
|
The name of
the current
Activity.
|
Activity
Requirement ID
|
The ID of
the business requirement to which the current activity belongs.
|
Project Name
|
The name of
the current
Software
Project.
|
Project
Requirement ID
|
The ID of
the business requirement to which the current project belongs.
|
-
Example
-
Marker Identifier = "Activity Name", and your current activity is
"myactivity".
In the
Script Editor, you mark lines as new. The
following maintenance comments are added:
- Behind the first new
line: "
|#myactivity.sn
".
- Behind the last new
line: "
|#myactivity.en
".
See "Comments" in the
Infor LN Studio
Application Development Guide.
- Show Mark Occurrences
-
If this check box is selected,
Mark Occurrences is enabled, so occurrences of the selected element are marked
in the source code. See "Mark Occurrences" in the
Infor LN Studio
Application Development Guide.
- Highlight Matching Brackets
-
If this check box is selected,
the script editor can highlight matching brackets in the source code.
-
Usage: Place the cursor directly behind a bracket. The
corresponding bracket is highlighted automatically.
This functionality applies to the following types of brackets:
- Parentheses: (, ).
- Braces: {, }.
- Remove Trailing Whitespaces on Save
-
If this check box is selected,
the script editor removes trailing whitespaces (space and tab) of each line in
the source code during save actions.
- Delay key manager
- The number of milliseconds after which the editor's parser will
react to the last key-event.
-
This only works if the editor is in asynchronous mode.
- Max LOC of syn. behaviour
- The maximum number of lines of code for which the editor can run in
synchronous mode. For the remaining lines, the editor switches to asynchronous
mode.
-
Note:
In synchronous mode, the parser directly reacts to each
key-event. As a result, all changes are colored immediately.
If you enter 0 in this field, the editor always runs in
asynchronous mode.
- Max LOC of parser
- The maximum number of lines of code the parser can handle.
-
If a script has more lines, the parser does not react anymore. Therefore, all editor functionality that requires the parser's output drops out.
This enhances the performance when editing very large scripts.
- Max LOC of syntax highlighting
- The maximum number of lines of code to which syntax highlighting
can be applied.
-
If a script has more lines, the parser does not react anymore. Therefore, all editor functionality that requires the parser's output drops out.
This enhances the performance when editing very large scripts.
- Background Color
- Use this field to set the background color for your editor.
-
Choose one of the following options:
System Defaults
|
The default
background color is white.
|
Custom
|
Choose the
color from a basic color schema or define custom colors.
|
-
Note:
The editor only uses this color for source code of checked out
components. If a component is not checked out, the source code is read-only and
the editor uses the
ReadOnly color.
- ReadOnly
- Use this field to set the background color for read-only source
code, such as source code of components that are not checked out.
-
Choose the color from a basic color schema or define custom
colors.