PPTools/Guiguts/Navigating

From DPWiki
Jump to navigation Jump to search

Scrolling the Text

You scroll the text in the window using the Page Up and Page Down keys; or by dragging or clicking in the vertical and horizontal scroll bars.

When running Guiguts under X-windows (Mac or Linux) you can scroll the file rapidly by control-dragging. Hold down the control key, then drag steadily up or downward in the text area. (Note this does not seem to work in Mac OS X 10.4.—Linux user please comment)

In Windows you can use the middle button of a three-button mouse in either of two ways. You can drag the text up and down by holding the middle button and dragging in the text window. Use middle-drag to reposition the text by a few lines. You can also use middle-scrolling in the manner of the Firefox browser: middle-click (don't drag) to open a scroll indicator. The move the mouse pointer up or down (without holding any buttons) and the text will scroll in the same direction. If middle-scrolling is too fast or too choppy for your taste, use the Scroll Update Speed dialog in the Prefs menu to adjust the

interval at which Guiguts checks for pointer movement.

Moving the Cursor

You move the cursor through the file with keys that should, for the most part, be familiar. The arrow, page, home and end keys move small distances:

left arrow prior character
right arrow next character
up arrow line above
down arrow line below
home left end of line
end right end of line
page up move up the file by one window-height
page down move down the file by one window-height

Hold down the control key to modify the effects of these keys:

ctl-left arrow prior word
ctl-right arrow next word
ctl-up arrow previous paragraph
ctl-down arrow next paragraph
ctl-home top of file
ctl-end end of file
ctl-page up shift the display left to show the left margin
ctl-page down shift the display right to show the rightmost letter

Using any these keys clears the selection, if there is a selection.

Using Bookmarks

The Bookmarks menu gives you the tools to set up to five bookmarks in the file, and return to them with a single keystroke.

Bookmarks are stored in the .bin file and are lost if that file is lost; see this page.

With a little practice you will find it most convenient to set and use bookmarks from the keyboard. The bookmarks are numbered from 1 to 5. Use control-shift-n to set bookmark n at the current position. Use control-n to jump the insertion point directly to bookmark n.

Navigating with the Search Menu

Goto Line

Select Search->Goto Line (or click the line number in the status bar) to open a small dialog for going to a particular line:

Guiguts gotoline.png

The display scrolls to display the line you specify at the middle of the window with the cursor at the left end of the line.

Goto Image Number

Select Search->Goto Page (or click the image-number field in the status bar) to open a small dialog for going to the text of a particular page image.

Guiguts gotopage.png

Goto Page is only available when the file has page-separator data. When it does, the image number field is visible in the status bar. The first line of text from the image you specify is displayed in the middle of the window with the cursor at the left end of the line.

Goto Page Label

Goto Page Label is available only when the file has page-separator data and you have performed page label assignment. Then the page label field in the status bar displays either Lbl: Pg nn or Lbl: None.

Right-click (Mac: ctl-click) in that field to open the Goto Page Label dialog:

Guiguts gotolabel.png

(Unlike Goto Page, this search is not available from the Search menu.) Enter the entire label of the logical page, for example Pg 206 or Pg iii. The first line of text of that page image is displayed in the middle of the window. You cannot jump to a page that was designated "No Count" in label assignment, because it has no label.

Stepping Through Block Markups

The Search menu has ten selections that allow you to step through block markups. For example, Search->Find Next /*..*/ moves the cursor ahead to the next block marked off with /* and */.

When you select one of these Find Next (or Previous) searches and there is no next (previous) block, the cursor does not move. However, if you select that search again, the search wraps around to the top (or end) of the file.

Tear off the Search menu to make these searches readily available.

Stepping Through Proofer Markups

You can use the Search & Replace dialog to step through proofreader markups. For example, set the search text to [I (case insensitive, not whole word, not regex, start at beginning). Click Search or press Enter repeatedly to step through all [Illustration: markups in sequence. Use [F to step through all footnotes, [S for all sidenotes, or [G for Greek transliterations.

Set the search text to \[[^FIS] (literal left-bracket followed by the class of neither-F-nor-I-nor-S; case-insensitive, not whole-word, regex) and step through all left-bracket markups that are not notes or illustrations. This would include proofer notes marked with [* and transliterations, as well as most footnote anchors.

In a similar way you can set the search text to </?i> (either "<i>" or "</i>"; case-insensitive, not whole word, regex) and step through all italic markups. You could use </?[bi]> to step through all bold and italic markups. A search for *\s+* (asterisk, one or more whitespaces, asterisk) steps through thought breaks.

Stepping Through Pages and Images

Use the "<" and ">" buttons on the status bar to page through the text while showing page images side by side.