CONTENTS | INDEX | PREV | NEXT

TV displays a cursor as a rectangle in a contrasting colour round the
character the cursor is said to be "on". It is important to keep in mind,
that it is sometimes easier to grasp what happens, if a cursor is thought
of as a position between characters.

The cursor in the text area is drawn around the character immediately
following the current position. Note, that TV provides access to the
current cursor position in the numeric constant  .  at all times. When
the cursor position is 0, the cursor is positioned logically before the
first character. Consequently, the first character is highlighted!
Similarly, when the cursor position is  Z  (the size of the buffer) the
cursor is positioned logically after the last character. The highlighted
area is then the position of the first non-existent character. This may not
sound logical, but in use is just what you would expect.

Only when this is kept firmly in mind is it understandable that
- the character under the cursor is included in forward searches;
- the character under the cursor is not included in backward searches.