• Keine Ergebnisse gefunden

it noves to the beginning of the next

Im Dokument Rational if if it If LQ!r~AL m (Seite 178-182)

line.

8 cursor up Move the cursor to the beginning of the previous line in the buffer. You may

find function 20, cursor to beginning of line, slightly more intuitive in result.

9 cursor up vertical

Move the cursor to the same column in the previous line.

If

the previous line is too short, the cursor is placed at the end of line.

If

the previous line

has no addressable character at that

column (because of a tab, for example), the cursor is set to the next character.

10 insert below, indent

Insert a line below the current line,

and copy the indentation from the current line. Cursor is placed at the

end of the new line (is indented).

ll

cursor downMove the cursor to the beginning of the

next line.

12 cursor down vertical

Move the cursor to the saíne column of the next line.

If

the next line is too short, the cursor is placed at the end

Page 164 Cof y'i::"' '""·"

Ü,)y'Fí,íi|("f{|,t' I": y" Ii") " ; ·'

Instant C'^

User'sManual

KEYBOARD FUNCTIONS

of line.

If

the next line has no

addressable character at that column

(because of a tab, for example), the cursor is set to the next character.

13 cursor

left

Moveword

the cursor to the

left,

to the

beginning of a 'word' or token.

14 cursor right word

Move the cursor to the right, to the beginning of the next word or token.

16 cursor up (decimal # lines)

Move the cursor up by the number of lines specified in the argument, and set to the beginning of the line. (You are queried for the number of lines when binding a key to this function in the

KEYBOARD program) This function is

useful for looking at the previous page or screen of text.

18 cursor down (decimal # lines)

Move the cursor down by the number of lines specified during configuratíon.

17 page up (decimal # lines)

similar to cursor up multiple lines function, above, but takes into account the cursor centering algorithm used for the display.

If

the cursor is currently

below the center of the screen,

it

is

moved to the beginning of the center line of the screen.

If

the cursor is at or above the center line,

it

is moved up

by the number of lines specified.

Depending on the nunber of lines used, the page up and page down functions provide more consistent scrolling behavior. Also, for numbers of lines less than 25, you are guaranteeá that

every line

will

be displayed (not lost

due to cursor centering) while scrolling

through a buffer.

19 page down (decinal # lines)

Like the page up function above, but

(}'i;'.. i jG'f'i 'I-Úí4 page 165

!'y ií,j1l|'}: ",l :á'y·qjf'f|}·, itiC:

A! l j"q t hl ! : ¿g Flt í:íI?VL !j

User'sManual ""

Instant-C

KEYBOARD FUNCTIONS

goes down through the buffer.

20 cursor begin line

Move cursor to beginning of the current line.

If

the cursor is already at the beginning of the current line, move to the beginning of the previous line.

21 cursor end line

Move cursor to the end of the current line.

If

the cursor is airead at the

end of the current line, move to the end of the next line.

f.2 Functions to Delete Text

22 delete character

Deletes the character at the current cursor position.

All

characters to the right of the cursor are moved

left

by

one position. TE the character deleted is the end of a line (the carriage return), the next line is joined to the current line, and

all

lines below are

brought up by one line.

23 delete

left

Deletescharacter

the character to the

left

of the

current cursor position. The cursor, as well as any characters to the right of the cursor,

will

be moved to the

left

by

one position.

If

the cursor was at the

beginning of a line (that is, the

left

character is the carriage return of the previous line), the return is deleted, the current line is joined to the previous line, and

all

lines below are

moved up by one.

24 delete line

Deletes the entire line. All lines

below the current line are moved up by

one. The cursor is positioned at the beginning of the

first

line moved up.

Page I6 6 ó ('t - , " ': ' 7'[l.j.!

. Y' ;,-t,;', :"f'" i," - ""

:,.' ,, '

"' User'sManual

Instant-C'

KEYBOARD FUNCTIONS

25 delete to end line

Deletes

all

characters to the ríght of

the cursor on the current line.

If

the

cursor is at the

first

position of the

line, the entire line is deleted as in the delete line function, above.

37 delete wordDeletes

left

from

the current cursor position to the beginning of the 'word' or token to the

left

of the cursor. Characters

to the right of the cursor, and the cursor

itself,

are inoved

left

by the

number of characters deleted.

If

the

end of the previous line is deleted, the current line is joined to the previous

line (except for the characters

deleted).

38 delete word right

Deletes characters from the current cursor position to the beginning of the next 'word' or token. Characters to the right of the cursor are moved

left

by

the number of characters deleted, and,

if

the end of line is deleted, the next line is joined to the current line.

35 rm-delete

This function is very useful. It:

will

restore, at the current cursor position,

any characters, lines, or words deleted

by the delete functions listed above.

When a deletion is performed, the characters are

placed on a stack of deletions (in

last-in-first-out

order). The type of deletion is remembered, so that characters, lines, or words are properly replicated

when restored with the un-delete function. The deletions stack is limited to about one thousand

characters, which includes about ten bytes of

overhead for each object (line, character, or word) deleted. Uri-delete is useful for recovering from

mistaken deletions, or as a very quick way to move text from one place to another, even between different buffers.

(.¿X '.'rÍí'}|)' ' 994 Page 16 7

1",/ Lí;iíi()"¿: | Syblf'f'|s l '"l"

Ai t !íl(7 !"!"S F¥ftb r:y,t¿l'

User'sManual l h4

Instant-C

KEYBOARD FUNCTIONS

43 erase arg/(function)

This is hard to explain but easy-to-use function. The idea is to allow you to

have the same key work differently in

COMMAND mode than in an input mode.

Im Dokument Rational if if it If LQ!r~AL m (Seite 178-182)