Expand description
Buffer extension utilities like line access, cursor‑based insertion, cursor position model, etc.
Structs§
- Cursor
Position - Represents the current cursor coordinates in the active
Window.
Enums§
- Text
Boundary - Defines boundaries for text selection within lines.
Traits§
Functions§
- create
- Creates a new listed buffer.
- get_
absolute_ path - Retrieves the absolute path of the specified buffer.
- get_
alternate_ or_ new - Retrieves the alternate buffer or creates a new one if none exists.
- get_
current_ line - get_
relative_ path_ to_ cwd - Retrieves the relative path of the buffer from the current working directory.
- open
- Opens a file and positions the cursor at the specified line and column.
- replace_
text_ and_ notify_ if_ error - Replaces the text in the specified
selectionwith thereplacementlines. - set_
current - Sets the specified buffer as the current buffer.