Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
donner::editor::Glyph Struct Reference

A single character in the text buffer with associated syntax highlighting information. More...

#include "donner/editor/TextBuffer.h"

Public Member Functions

 Glyph (char c, ColorIndex color)

Public Attributes

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.

Detailed Description

A single character in the text buffer with associated syntax highlighting information.


The documentation for this struct was generated from the following file: