Merge branch 'wxrichtextctrl_word_wrapping_opt' of https://github.com/mehmet-soyturk/wxWidgets

Optimize wrapping long lines in wxRichTextCtrl.

See https://github.com/wxWidgets/wxWidgets/pull/2523
This commit is contained in:
Vadim Zeitlin
2021-10-26 19:43:03 +02:00
2 changed files with 79 additions and 27 deletions

View File

@@ -4654,6 +4654,7 @@ protected:
// The lines that make up the wrapped paragraph
wxRichTextLineList m_cachedLines;
wxVector<wxRichTextLine*> m_cachedLinesVect;
// Whether the paragraph is impacted by floating objects from above
int m_impactedByFloatingObjects;