ReplState interface
ReplState interface
Section titled “ReplState interface”Data store monitoring cursor tracking, buffer inputs, and selection state offsets inside an active session.
Signature:
export interface ReplStateProperties
Section titled “Properties”|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string[] |
Filtered selection match results populated to generate prompt suggestion interfaces. | ||
|
number |
Selection index tracking the actively focused list entry within the drop UI structure. | ||
|
number |
Numeric absolute offset index indicating where the text input insertion caret resides. | ||
|
number |
Total calculated lines populated during the previous repaint cycle to ensure precise cursor rewinds. | ||
|
string |
The current unmodified textual contents visible inside the text entry editor line. | ||
|
string[] |
Filtered matching keys computed against global targets while operating inside JavaScript Evaluation modes. | ||
|
number |
The text span character length intended for removal upon picking a JavaScript candidate selection. | ||
|
boolean |
(Optional) Boolean flag for history search mode. | ||
|
string |
(Optional) The current search query string used to filter command history entries when operating in search mode. | ||
|
string[] |
(Optional) The list of choices to display in the select menu. | ||
|
number | null |
The starting index offset marker where an highlighted block selection range commences. | ||
|
boolean |
(Optional) Boolean flag for user made select menus. | ||
|
string |
(Optional) The select menu prompt string. |