A single character in the text buffer with associated syntax highlighting information.
More...
#include "donner/editor/TextBuffer.h"
|
| | Glyph (char c, ColorIndex color) |
| | Create a character with its syntax-color index.
|
|
|
char | character |
| | The actual character.
|
|
ColorIndex | colorIndex = ColorIndex::Default |
| | Color to use for this character.
|
|
bool | isComment: 1 |
| | Part of a single-line comment.
|
|
bool | isMultiLineComment: 1 |
| | Part of a multi-line comment.
|
A single character in the text buffer with associated syntax highlighting information.
◆ Glyph()
| donner::editor::Glyph::Glyph |
( |
char | c, |
|
|
ColorIndex | color ) |
|
inline |
Create a character with its syntax-color index.
- Parameters
-
| c | Character stored in the glyph. |
| color | Syntax-color index. |
The documentation for this struct was generated from the following file: