Java Reference
In-Depth Information
After clearing the bookmark on a line, you can scroll down to locate the next
bookmarked line. Even with such a prominent indicator, it is possible in a large
program to overlook a bookmarked line. TextPad provides a means to find the
next bookmark, without requiring that you manually scan for the next indicator.
By using TextPad to find the next bookmark, you are assured of not missing a
bookmarked line inadvertently. The following steps use TextPad to locate the
next bookmarked line automatically.
To Find the Next Bookmarked Line
1. Click Search on the menu bar and then click Next Bookmark on the
Search menu.
The bookmarked line briefly is selected, and the insertion point is positioned
next to the bookmark at the beginning of line 161 (Figure 10-30).
insertion
point
FIGURE 10-30
2. Double-click the word Exception in line 161 to select it and then type
PasswordUsedException as the new code. Click Toggle Bookmark on
the Search menu.
The code is changed to create a new PasswordUsedException, rather than
a new Exception. The bookmark is toggled off so it no longer displays
(Figure 10-31).
text replaced with
PasswordUsedException
FIGURE 10-31
 
Search WWH ::




Custom Search