@@ -19,6 +19,13 @@ typedef struct row {
|
||||
char *chars; /**< Characters of the line */
|
||||
} row_t;
|
||||
|
||||
typedef struct context_buffer_t
|
||||
{
|
||||
int editor_x, editor_y;
|
||||
int width, height;
|
||||
row_t *rows;
|
||||
} ContextBuffer;
|
||||
|
||||
/**
|
||||
* @brief Split modes for screen layout
|
||||
*/
|
||||
@@ -113,6 +120,8 @@ struct editorConfig {
|
||||
|
||||
row_t *rows; /**< Store all the rows printed */
|
||||
|
||||
ContextBuffer* context_buffers;
|
||||
|
||||
int dirty;
|
||||
|
||||
char *status_msg;
|
||||
|
||||
Reference in New Issue
Block a user