A single line of text, stored as a vector of glyphs. More...
#include "donner/editor/TextBuffer.h"
Public Types | |
| using | Base = std::vector<Glyph> |
| Glyph storage underlying a line of text. | |
Public Member Functions | |
| void | emplace (iterator it, char ch, ColorIndex color) |
| Insert a colored character before the supplied iterator. | |
A single line of text, stored as a vector of glyphs.
This inherits from std::vector<Glyph> purely for convenience.
|
inline |
Insert a colored character before the supplied iterator.
| it | Insertion position in the line. |
| ch | Character to insert. |
| color | Syntax-color index. |