Cursor Navigation

Setting the Paren Match Style

As you type a closing parenthesis, highlight and matching options are available. To specify these options, click Window Preferences, expand SlickEdit and click General in the tree, then double-click the Gen- eral setting. On the General Options dialog, select the More Tab, then select one of the Paren match style options.

The Highlight style option temporarily block-selects the text within the parenthesis pair. The Cursor to Begin Pair style option temporarily places the cursor on the matching begin parenthesis.

Select Highlight matching blocks to automatically highlight the corresponding parenthesis, brace, bracket, or begin/end word pairs under the cursor. To customize the highlighting color, click Window Preferences, expand SlickEdit and click General in the tree, then double-click the Color setting. Select the Block Matching screen element. To adjust the delay in milliseconds before the highlighting is up- dated, go to Macro Set Macro Variable and modify the variable def_match_paren_idle. See Setting Colors for Screen Elements and Setting Macro Variables for more information.

Cursor Navigation

These cursor navigation methods pertain to simple cursor movement within files. We recommend creating key bindings for commands that you use frequently (if a key binding doesn’t already exist by default).

Navigating in Pages and Files

The following commands control cursor navigation in pages and files:

top_of_window/bottom_of_window (Ctrl+PgUp/Ctrl+PgDn) - Places the cursor at the top/bottom of the current editor window.

top_of_buffer/bottom_of_buffer (Ctrl+Home/Ctrl+End) - The top_of_buffer command places the cursor at the first line and first column of the current buffer. The bottom_of_buffer command places the cursor at the end of the last line of the current buffer. If the option Preserve column on top/bottom is on (click Window Preferences, expand SlickEdit and click General in the tree, double-click the General setting and select the More Tab), the cursor is placed at the first line/last line of the buffer and the column position is unchanged.

Tip

There is an option to make top_of_buffer/bottom_of_buffer push a bookmark, providing quick navigation between the top/bottom of the buffer and the previous location. See Setting Bookmark Options for more information.

top_left_of_window/bottom_left_of_window - Places the cursor at the top left/bottom right of the cur- rent editor window.

page_up/page_down (PgUp/PgDn) - Moves the cursor to the previous/next page of text.

page_left/page_right - Changes the left edge scroll position by half the window width to the left/right.

79

Page 101
Image 101
Slick V3.3 manual Cursor Navigation, Navigating in Pages and Files, Setting the Paren Match Style