aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-11-24 06:50:01 +0000
committernyamatongwe <devnull@localhost>2005-11-24 06:50:01 +0000
commitbfb9fdaa6de9d9794bb73a8cf238b05584682547 (patch)
treeac36f936c8087afe00454e291186a7b2ca770051 /src/Editor.h
parentddc2c5951de8fcba0cf8f2a2af0cd67a35b73f59 (diff)
downloadscintilla-mirror-bfb9fdaa6de9d9794bb73a8cf238b05584682547.tar.gz
Patch from John Ehresman that tracks the number of layouts
in use and adds assertions that this is always only 0 or 1. It also sets the length of the cache array if the array shrinks or grows without being reallocated.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 1207425dd..5370f5b2e 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -105,6 +105,7 @@ class LineLayoutCache {
LineLayout **cache;
bool allInvalidated;
int styleClock;
+ int useCount;
void Allocate(int length_);
void AllocateForLevel(int linesOnScreen, int linesInDoc);
public: