Assembled 2
A column based text editor
Loading...
Searching...
No Matches
Public Attributes | List of all members
AS_TextBuf Struct Reference

#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_LLElementhead
 The first line in the buffer.
 
struct AS_LLElementvirtual_head
 The first line on screen.
 
struct AS_LLElementcurrent_element
 Pointer to the line at (cx, cy).
 
struct AS_LLElementselection_start_line
 Pointer to the line at (0, selection_start.y).
 

Detailed Description

A text buffer, or column.

Holds all information about a single column.


The documentation for this struct was generated from the following file: