広告
広告
Navigating Source Code
Using Markers
• Choose Search > Go To Line
2. Type a line number in the Line Number text box.
3. Click OK.
NOTE
If a line number does not exist, the insertion point jumps to the last line of the source file.
Using Markers
Markers behave like labels in the editor, identifying specific parts of source code. Use these tasks to work with markers:
• Add markers to a source file
• Navigate to a marker
• Remove some or all markers from a source file
Remove Markers Window
Use the Remove Markers window to manage the use of destination markers in source
shows the Remove Markers window.
explains the items in the window.
Figure 11.1 Remove Marker Window
108 IDE 5.7 User’s Guide
Navigating Source Code
Using Markers
Table 11.2 Remove Markers Window Items
Item
Markers list
Remove button
Cancel button
Done button
Explanation
Displays a list of all markers in the current source file.
Click to remove all selected markers.
Click to close the Remove Markers window without applying changes.
Click to close the Remove Markers window and apply changes.
Adding Markers to a Source File
Use the Add Marker command to add a marker to a file to identify specific line locations by name.
1. Position the cursor on a line.
2. Click on Marker icon and select Add Marker.
3. Type a name for the new marker.
4. Click Add.
The IDE adds the marker to the file.
Navigating to a Marker
Once you add a marker, you can use the Marker menu to return to it later.
1. Select the marker name from the Marker menu.
2. The editor window scrolls to display the selected marker.
Removing a Marker from a Source File
Use the Remove Marker command to remove one or more markers from a source file.
1. Click Marker icon and select Remove Markers
2. Select the marker name to remove from the list.
3. Click Remove.
The IDE removes the selected marker.
IDE 5.7 User’s Guide 109
ダウンロード
広告