|
Assembled 2
A column based text editor
|
#include <global.h>
Public Attributes | |
| char | editor_scr_message [1024] |
| Current message to be displated at the bottom of the editor screen. | |
| struct AS_RenderCtx | render_ctx |
| The current render context. | |
| struct AS_Screen | screens [AS_MAX_SCREEN_COUNT] |
| A list of all registered screens. | |
| struct AS_Screen * | screen |
| A pointer to the currently active screen. | |
| struct AS_TextFile * | text_file_head |
| The start of the linked list containing all text files. | |
| struct AS_TextFile * | text_file |
| The current text file. | |
| struct AS_ColDesc | col_descs [AS_MAX_COLUMNS] |
| An array of all available column descriptors / layouts. | |
| int | col_desc_i |
| The index of the currently selected column descriptor. | |
| struct AS_SyntaxBackendMeta | syn_backends [AS_MAX_BACKENDS] |
| All registered syntax backends. | |
The global context structure.
Keeps track of all variables which construct the current state of the program. It is good to have no global variables, this structure minimizes the count to two.