
MCO 305 Design Guide
__ PC Software Interface __
56
MG.33.L4.02 – VLT
®
is a registered Danfoss trademark
Edit Menu
The
Edit
menu offers the necessary editing help for
programming. Most of these commands can also be
reached via certain keys and key combinations, as
is usual in Windows.
Some editing help can only be accessed using
combinations of keys, e.g.
Line-by-line deletion
[Cntl] + [Y]
Go to line n
[Cntl] + [G]
Line open above
[Cntl] + [Shift] + [N]
Tabulators
Use the tabulators and the different colors to visually structure your program. The tab increments are
permanently set.
Line number
Within your program you can use the line numbers for orientation purposes. For example, the syntax check
not only places the cursor in the corresponding line, but also names the line number containing the
incorrect command.
The current line number can be found in the status bar, for example 13:1. This means that the cursor is
located in line 13 at position 1.
Find and Replace
Find and replace is realized in accordance with the
Windows conventions and supplemented by some
useful functions.
Click on
Edit
o
Find
or press [Cntl]
+
[F] and enter
the term searched. Use [F3] to jump from one site
found to the next one.
Click on
o
Mark All
instead of
o
Find
and all sites
found are immediately marked with a blue triangle
at the left margin. You can then jump back and
forth with [F2] between the sites found.
Regular Expression
The regular expression implementation in search
and replace functionality handles the following
syntax, see table:
Wildcards
? (for any character), + (for one or
more of something), * (for zero or
more of something).
Sets of characters
Characters enclosed in square
brackets will be treated as an option
set. Character ranges may be
specified with a – (e.g. [a-c]).
Logical OR
Subexpressions may be ORed
together with the | pipe symbol.
Parenthesized
subexpressions
A regular expression may be
enclosed within parentheses and
will be treated as a unit.
Escape characters
Sequences such as \t, etc. will be
substituted for an equivalent single
character. \\ represents the
backslash.
Clear Bookmarks
If bookmarks have been used in the editor, then they are saved and restored along with the program file.
Click on
o
Clear Bookmarks
to clear all existing bookmarks from the editor.
Summary of Contents for MCO 305
Page 4: ......