diff options
author | nyamatongwe <unknown> | 2002-07-28 13:20:07 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2002-07-28 13:20:07 +0000 |
commit | a91ea51a52c4b97e75eca44c94edb5b8c4121be1 (patch) | |
tree | 72b368d6be05d048e22013a37033cc13207ee978 | |
parent | 1caaceed6e39ac16db40c4b39a89a6157ad55741 (diff) | |
download | scintilla-mirror-a91ea51a52c4b97e75eca44c94edb5b8c4121be1.tar.gz |
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.
-rw-r--r-- | src/Editor.h | 3 |
1 files changed, 2 insertions, 1 deletions
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(); |