diff options
author | nyamatongwe <devnull@localhost> | 2000-11-26 01:32:57 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-11-26 01:32:57 +0000 |
commit | 658e1b1edfc1a6987b4f3b366aa07bb3e68c67ee (patch) | |
tree | 68dd386441912b9733eec915ce3084ffb1783201 /src/Editor.cxx | |
parent | 2498917aae1f0e4cd1ebefe2907fe1624d237f70 (diff) | |
download | scintilla-mirror-658e1b1edfc1a6987b4f3b366aa07bb3e68c67ee.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; } |