diff options
author | nyamatongwe <unknown> | 2000-11-26 01:32:57 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-11-26 01:32:57 +0000 |
commit | dcf614b69ebfebbd9dd10e8ba3cf36f3029a196f (patch) | |
tree | 68dd386441912b9733eec915ce3084ffb1783201 /src/Editor.cxx | |
parent | b06ccad8c14068ed9d3f37b5f6b4fa6e5ce3c7f9 (diff) | |
download | scintilla-mirror-dcf614b69ebfebbd9dd10e8ba3cf36f3029a196f.tar.gz |
Patches from Philippe to improve Lua lexer, handle '\' continuation
at end of line inside strings and to allow 5 digit line numbers when
printing.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index de4783cb3..03f09f390 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -1405,7 +1405,7 @@ long Editor::FormatRange(bool draw, RangeToFormat *pfr) { int lineNumberWidth = 0; if (lineNumberIndex >= 0) { lineNumberWidth = surface->WidthText(vsPrint.styles[STYLE_LINENUMBER].font, - "9999" lineNumberPrintSpace, 4 + strlen(lineNumberPrintSpace)); + "99999" lineNumberPrintSpace, 5 + strlen(lineNumberPrintSpace)); vsPrint.ms[lineNumberIndex].width = lineNumberWidth; } |