diff options
| author | nyamatongwe <unknown> | 2005-11-24 06:50:01 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2005-11-24 06:50:01 +0000 |
| commit | 70b447768bdfb629a38431adbb40e9544102e0b3 (patch) | |
| tree | ac36f936c8087afe00454e291186a7b2ca770051 /src/Editor.h | |
| parent | fd9891e3e2bb9f782c85fc8ab8b3e356ada0be56 (diff) | |
| download | scintilla-mirror-70b447768bdfb629a38431adbb40e9544102e0b3.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.h | 1 |
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: |
