10.02.2013 Views

SlickEdit User Guide

SlickEdit User Guide

SlickEdit User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

TEXT EDITING<br />

When viewing a list of clipboards, block selection types are indicated with the text “BLOCK” (see Viewing<br />

and Inserting Clipboards for more information).<br />

Selection Styles<br />

Selections styles determine key behaviors for selections, like whether to extend the selection as the cursor<br />

moves or to deselect after a copy or paste operation. Selection features in <strong>SlickEdit</strong>® depend on the<br />

current selection style, which is set to match your emulation mode by default. However, note that the key<br />

bindings described in this section are based on the default emulation mode, CUA. If you are using a<br />

different emulation, see the emulation charts (located in the docs subdirectory of your installation directory)<br />

for a listing of selection keys.<br />

To change the selection style, use the Selections option screen (Tools > Options > Editing > Selections).<br />

See Selection Options for more information.<br />

Selection Indicator<br />

<strong>SlickEdit</strong>® provides a selection indicator, located in the status area of the editor, to indicate the type of<br />

selection and the number of characters or lines in a selection. This is useful to quickly determine the<br />

selection type you have made, and to measure the length of a word or string, or the number of lines in a<br />

function.<br />

The selection indicator displays the following information based on your current selection:<br />

• When nothing is selected, the indicator is dimmed and displays the text “No Selection”.<br />

• When the current selection is a character selection:<br />

o If the character selection is contained on one line, the indicator displays the number of<br />

columns selected. For example, if three characters are selected, the indicator displays “3<br />

Cols”.<br />

NOTE Because columns are “virtual”, the number of columns displayed by the indicator is not<br />

necessarily the actual number of characters or bytes in the selection, if the selection includes tab<br />

characters, Unicode characters, or extends beyond the end of the line.<br />

o If the character selection spans more than one line, the indicator shows the number of lines,<br />

with a plus sign (+) to indicate if there are “extra” characters selected, or a minus sign (-) to<br />

indicate if there are fewer characters selected, depending on the start and end columns of the<br />

selection. For example, if the selection spans one entire line and part of the subsequent line,<br />

the indicator displays “1 Line+”.<br />

• When the current selection is a line selection, the indicator displays the number of lines. For<br />

example, if two lines are selected, the indicator displays “2 Lines”.<br />

• When the current selection is a block selection, the indicator displays the size of the block in the<br />

format Lines x Columns. For example, if the selected block is two lines long and three columns<br />

wide, the indicator displays “2x3 Block”.<br />

TIP The selection indicator can be used to count the number of characters in any text block. This can<br />

be useful for database work or any type of task that involves checking the number of characters.<br />

Simply paste the text into <strong>SlickEdit</strong> and select it with one of the character selection methods, then<br />

look at the selection indicator to see the number of characters.<br />

<strong>SlickEdit</strong>® <strong>User</strong> <strong>Guide</strong> 221

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!