Further wxRichTextCtrl performance improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1698,7 +1698,7 @@ public:
|
||||
|
||||
/// Update the control appearance
|
||||
void UpdateAppearance(long caretPosition, bool sendUpdateEvent = false,
|
||||
wxArrayInt* optimizationLineCharPositions = NULL, wxArrayInt* optimizationLineYPositions = NULL);
|
||||
wxArrayInt* optimizationLineCharPositions = NULL, wxArrayInt* optimizationLineYPositions = NULL, bool isDoCmd = true);
|
||||
|
||||
/// Replace the buffer paragraphs with the given fragment.
|
||||
void ApplyParagraphs(const wxRichTextParagraphLayoutBox& fragment);
|
||||
@@ -1707,6 +1707,9 @@ public:
|
||||
wxRichTextParagraphLayoutBox& GetNewParagraphs() { return m_newParagraphs; }
|
||||
wxRichTextParagraphLayoutBox& GetOldParagraphs() { return m_oldParagraphs; }
|
||||
|
||||
/// Calculate arrays for refresh optimization
|
||||
void CalculateRefreshOptimizations(wxArrayInt& optimizationLineCharPositions, wxArrayInt& optimizationLineYPositions);
|
||||
|
||||
/// Set/get the position used for e.g. insertion
|
||||
void SetPosition(long pos) { m_position = pos; }
|
||||
long GetPosition() const { return m_position; }
|
||||
|
Reference in New Issue
Block a user