Text styles can stack

This commit is contained in:
Yousef Khadadeh 2025-11-04 19:04:09 +03:00
parent bb388efffc
commit 029b6c8966
3 changed files with 52 additions and 5 deletions

View file

@ -34,6 +34,8 @@ class RichTextBox {
bool operator==(const TextPosition& o) const = default;
bool operator<(const TextPosition& o) const;
bool operator>(const TextPosition& o) const;
bool operator>=(const RichTextBox::TextPosition& o) const;
bool operator<=(const RichTextBox::TextPosition& o) const;
};
struct TextStyleRangeModifier {