diff options
author | Neil <nyamatongwe@gmail.com> | 2014-03-25 23:24:17 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2014-03-25 23:24:17 +1100 |
commit | 0cf16c49d4f61d5432ad36201a161cce13482782 (patch) | |
tree | 05973a82eb47a88bbefdd2f831ce0a73ce1443f6 /src/Editor.cxx | |
parent | 95bd771554b102a56363ef6421f4ddf8c18e58d8 (diff) | |
download | scintilla-mirror-0cf16c49d4f61d5432ad36201a161cce13482782.tar.gz |
Bug [#1586]. Automatic indentation wrong when caret in virtual space.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index ac25189a2..c340bedf2 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -5090,6 +5090,7 @@ void Editor::NewLine() { // Remove non-main ranges InvalidateSelection(sel.RangeMain(), true); sel.SetSelection(sel.RangeMain()); + sel.RangeMain().ClearVirtualSpace(); // Clear main range and insert line end bool needGroupUndo = !sel.Empty(); |