KEDIT Reminders

Last Updated:   2/19/26  21:18                 Jeffrey Knauth

Current Line (Field)

Focus Line

Line and Cursor Placements after Certain Commands

When the cursor is in the command line:

CommandFocus LineCurrent LineCursor
TOP TOF TOF Cmnd line
BOTTOM BOF-1 BOF-1 Cmnd line
LOCATE Found line Found line Cmnd line
CLOCATE Found line Found line Cmnd line
INPUT New line New line Cmnd line
REPLACE Repl line Repl line Cmnd line
DELETE Next line Next line Cmnd line
UP Prev line Prev line Cmnd line
DOWN Next line Next line Cmnd line
COPY Copied targ Copied targ Cmnd line
MOVE Moved targ Moved targ Cmnd line
ADD Added Added Added
ALL 1st in all 1st in all Cmnd line
DUPLICATE Dupe targ Dupe targ Cmnd line
FIND Found targ Found targ Cmnd line
LEFT Unchanged Unchanged Cmnd line
RIGHT Unchanged Unchanged Cmnd line
SHIFT Unchanged Unchanged Cmnd line

When the cursor is NOT in the command line:

CommandFocus LineCurrent LineCursor
TOP TOF TOF TOF
BOTTOM BOF-1 BOF-1 BOF-1
LOCATE Cursor line (note 1) Found Line
CLOCATE Cursor line (notes 1, 2) Found Line
INPUT New line Unchanged New line
REPLACE Repl line Unchanged Repl line
DELETE Next line Unchanged Next line
UP Prev line Unchanged Prev line
DOWN Next line Unchanged Next line
COPY Copied targ Unchanged Copied targ
MOVE Moved targ Unchanged Moved targ
ADD Added Added Added
ALL 1st in all 1st in all 1st in all
DUPLICATE Dupe targ Dupe targ Dupe targ
FIND Found targ Found targ Found targ
LEFT Unchanged Unchanged Unchanged
RIGHT Unchanged Unchanged Unchanged
SHIFT Unchanged Unchanged Unchanged

Note 1:  The current line is unchanged if the target line is in the window. If the target line is not in the window, the file is scrolled to make the target line be the current line.

Note 2:  If the target is not visible, the screen is shifted to make at least the first character of the target be visible.

Cursor Location

Window Topography

Parse

Arg

SOS

In the following, SOS op operates on the cursor. (There are other SOS ops.)

Boolean

In the following, each function tests the listed condition. It returns 1 for true and 0 for false. (There are other Boolean functions).

Trace

SIGNAL

Miscellaneous

HIGHLIGHTING

SET and QUERY

Gotchas

HOME