1
Fork 0
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:
Andreas Kling 2019-10-26 00:13:07 +02:00
parent 5e5a7fbd40
commit 59107a7cfe
2 changed files with 5 additions and 1 deletions

View file

@ -180,6 +180,7 @@ public:
GTextPosition start;
GTextPosition end;
Color color;
const Font* font { nullptr };
};
void set_spans(const Vector<Span>& spans)