From a91ea51a52c4b97e75eca44c94edb5b8c4121be1 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 28 Jul 2002 13:20:07 +0000 Subject: Added new line cache validity level between invalid and positions correct for when some text or style may or may not have been changed. Allows optimization of the common case where a modification only changes the style of a small range of the document. --- src/Editor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Editor.h b/src/Editor.h index 724775342..451f12341 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -45,7 +45,7 @@ public: enum { wrapWidthInfinite = 0x7ffffff }; int maxLineLength; int numCharsInLine; - enum validLevel { llInvalid, llPositions, llLines } validity; + enum validLevel { llInvalid, llCheckTextAndStyle, llPositions, llLines } validity; int xHighlightGuide; bool highlightColumn; int selStart; @@ -307,6 +307,7 @@ protected: // ScintillaBase subclass needs access to much of Editor int LineFromLocation(Point pt); void SetTopLine(int topLineNew); + bool AbandonPaint(); void RedrawRect(PRectangle rc); void Redraw(); void RedrawSelMargin(); -- cgit v1.2.3