diff options
author | nyamatongwe <unknown> | 2005-12-04 00:46:47 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2005-12-04 00:46:47 +0000 |
commit | 8a99dc9ffbd5f9fa76ed360b4ca50a20bb17af48 (patch) | |
tree | 176af8a6b311cf4e5aefedf63386d5fd517ce58f /src/Editor.h | |
parent | 4274534092afaf689584347096f6aa847379a623 (diff) | |
download | scintilla-mirror-8a99dc9ffbd5f9fa76ed360b4ca50a20bb17af48.tar.gz |
Optimisations that help for documents with long lines and many
control characters.
Set of style bits set maintained in line layout so indicator drawing
code can quickly determine if an indicator is drawn at all on a line.
Drawing loops exited after reach right hand side of window.
Widths of control character symbols cached while laying out
line.
Small tweaks to avoid overhead inside loops.
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 5370f5b2e..f779e21cc 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -64,6 +64,7 @@ public: int edgeColumn; char *chars; unsigned char *styles; + int styleBitsSet; char *indicators; int *positions; char bracePreviousStyles[2]; |