Fixed issues with stacking styles and duplicate/empty styles
This commit is contained in:
parent
ee887c82dd
commit
fe936b6c25
3 changed files with 68 additions and 28 deletions
|
|
@ -131,6 +131,8 @@ class RichTextBox {
|
|||
void erase_if_over_all_styles_until_pos(TextPosition pos, const std::function<bool(TextPosition, const std::shared_ptr<TextStyleModifier>&)>& func);
|
||||
void insert_style_at_pos(TextPosition pos, const std::shared_ptr<TextStyleModifier>& modifier);
|
||||
|
||||
void remove_duplicate_text_style_mods();
|
||||
|
||||
void rebuild();
|
||||
|
||||
bool newlinesAllowed = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue