|
Assembled 2
A column based text editor
|
#include <buffer.h>
Public Attributes | |
| int | cx |
| Cursor's X position in buffer. | |
| int | col_start |
| The start index of the buffer's column. | |
| int | col_end |
| The end index of the buffer's column. | |
| uint8_t | selection_enabled |
| Determines if selection is enabled for this buffer (1). | |
| struct AS_Bound | selection_start |
| 0-based coordinates of the selection's start. | |
| struct AS_LLElement * | head |
| The first line in the buffer. | |
| struct AS_LLElement * | virtual_head |
| The first line on screen. | |
| struct AS_LLElement * | current_element |
| Pointer to the line at (cx, cy). | |
| struct AS_LLElement * | selection_start_line |
| Pointer to the line at (0, selection_start.y). | |
A text buffer, or column.
Holds all information about a single column.