noteThis document is pretty scrappy, and will likely remain so for some time. You're best bet is to use the documentation in the source files themselves.
Main data structures
TextThe text buffer data structure. All file and text manipulation happens through a text buffer. Every text buffer has a pointer to a list of Views which look after the screen. Texts belonging to a window have a pointer to the corresponding Data, with t->isbody indicating whether the text is for the tag or body.
The text also maintains a small cache used in searching through the buffer.
Files which #include "text.h":
Main needsFlicker-free scrolling, Tile heuristics, Sam commands