diff options
author | nyamatongwe <unknown> | 2001-12-20 07:28:44 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-12-20 07:28:44 +0000 |
commit | 7ba0c2b34a959f5980fe25e3bdfbafcdca17062d (patch) | |
tree | f4a96a8934abc4e9c97a570befe1cfa6c9273332 /src/Editor.h | |
parent | 4eefbc39519d93c5c2857ccd61299909d021c640 (diff) | |
download | scintilla-mirror-7ba0c2b34a959f5980fe25e3bdfbafcdca17062d.tar.gz |
Increased allocations for laying out and wrapping lines to allow 16000
characters and 400 lines.
Optimised display by reusing a LineLayout for all the visible lines of a
document line.
Fixed some processing of multi-byte and UTF-8 characters so that, for
example, performing a rectangular selection does not select partial
characters.
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Editor.h b/src/Editor.h index 8d60abffc..374e2b33f 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -36,7 +36,7 @@ public: class LineLayout { public: /// Drawing is only performed for @a maxLineLength characters on each line. - enum {maxLineLength = 4000}; + enum {maxLineLength = 16000}; int numCharsInLine; int xHighlightGuide; bool highlightColumn; @@ -52,7 +52,7 @@ public: // Wrapped line support int widthLine; int lines; - enum {maxDisplayLines = 100}; + enum {maxDisplayLines = 400}; int lineStarts[maxDisplayLines]; }; |