Page 245 Table of Contents Index Page 247
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E



CHAPTER 24. INPUT EDITING AND COMPLETION FACILITIES

be implemented for all classes that inherit from input-editing-stream.

=> stream-input-buffer (stream input-editing-stream) [Method]
Returns the input buffer (that is, the string being edited) associated with the input editing
stream
stream. This must be an unspecialized vector with a fill pointer. The fill pointer of
the vector points past the last gesture object in the buffer. During input editing, this buffer is
side-effected. The consequences of modifying the input buffer by means other than the specified
API (such as replace-input) are unspecified.

=> stream-insertion-pointer stream [Generic Function]
Returns an integer corresponding to the current input position in the input editing stream
stream's buffer, that is, the point in the buffer at which the next user input gesture will be
inserted. The insertion pointer will always be less than (fill-pointer (stream-input-buffer
stream)). The insertion pointer can also be thought of as an editing cursor.

=> (setf stream-insertion-pointer) pointer stream [Generic Function]
Changes the input position of the input editing stream stream to pointer. pointer is an integer,
and must be less than (fill-pointer (stream-input-buffer stream)).

=> stream-scan-pointer stream [Generic Function]
Returns an integer corresponding to the current scan pointer in the input editing stream stream's
buffer, that is, the point in the buffer at which calls to accept have stopped parsing input. The
scan pointer will always be less than or equal to (stream-insertion-pointer stream).

=> (setf stream-scan-pointer) pointer stream [Generic Function]
Changes the scan pointer of the input editing stream stream to pointer. pointer is an integer,
and must be less than or equal to (stream-insertion-pointer stream).

=> stream-rescanning-p stream [Generic Function]
Returns the state of the input editing stream stream's "rescan in progress" flag, which is true if
stream is performing a rescan operation, otherwise it is false. All extended input streams must
implement a method for this, but non-input editing streams will always returns false.

=> reset-scan-pointer stream &optional (scan-pointer 0) [Generic Function]
Sets the input editing stream stream's scan pointer to scan-pointer, and sets the state of stream-
rescanning-p
to true.

=> immediate-rescan stream [Generic Function]
Invokes a rescan operation immediately by "throwing" out to the most recent invocation of
with-input-editing.

=> queue-rescan stream [Generic Function]


Page 245 Table of Contents Index Page 247
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E