mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:57:42 +00:00
GTextEditor: Allow setting a custom font for each span
This commit is contained in:
parent
5e5a7fbd40
commit
59107a7cfe
2 changed files with 5 additions and 1 deletions
|
@ -180,6 +180,7 @@ public:
|
|||
GTextPosition start;
|
||||
GTextPosition end;
|
||||
Color color;
|
||||
const Font* font { nullptr };
|
||||
};
|
||||
|
||||
void set_spans(const Vector<Span>& spans)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue