aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-07-28 13:20:07 +0000
committernyamatongwe <devnull@localhost>2002-07-28 13:20:07 +0000
commit949fe42e1c4ef53901beb134f508af75c1d06ef0 (patch)
tree72b368d6be05d048e22013a37033cc13207ee978 /src
parentb6318a8f9cad997cccc2c09fd4d66a4413408228 (diff)
downloadscintilla-mirror-949fe42e1c4ef53901beb134f508af75c1d06ef0.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.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.h3
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();