Setting and Using Bookmarks
You can use bookmarks to make navigating long programs easier. Bookmarks can be used in all editors of programming languages except SFC (sequential function chart). Commands allow you to navigate directly to the marked locations in the program.
Setting and deleting bookmarks
Requirement: The POU is open in the editor.
Set the cursor at any program line.
Click
.A bookmark is set at this position in the program. This is marked by the
bookmark symbol.
Set multiple bookmarks at different places in the program.
Set the cursor at a bookmarked program line.
Click
.The bookmark is removed. The
bookmark symbol is deleted.
Alternatively, you could also click the
button in the Bookmarks view to delete one or more bookmarks. To do this, the corresponding bookmarks have to be selected in the Bookmarks view.
Tip
Click
to remove all bookmarks from the active POU.Tip
In order to delete all bookmarks in a project, click Clear All Bookmarks. However, for this command to be available, you first have to add it to a menu by means of the command.
Jumping to bookmarks within a POU
Requirement: The POU is open in the editor. Multiple bookmarks are set.
Click
.Depending on the current cursor position, the cursor jumps to the next bookmark (see below).
Click
.Depending on the current cursor position, the cursor jumps to the previous bookmark (see above).
Jumping to bookmarks of different POUs in a project
A project is open with multiple POUs. Multiple bookmarks are set in different POUs.
Click
.The Bookmarks view opens.
All bookmarks in the project are listed in a table in the view.
Click the
Next Bookmark button.
In the Bookmarks view, the bookmark in the row below the selected bookmark is selected.
The POU with the recently selected bookmark in the table opens in the editor and the row with the bookmark is selected in the POU.
As in step 2, you can click the
Previous Bookmark button to jump to the bookmark in the project that is displayed in the row above it in the Bookmarks view.