diff options
author | nyamatongwe <unknown> | 2010-03-11 10:21:29 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-03-11 10:21:29 +0000 |
commit | 8e37e4efe5f90c7b6157ffd513ac418db7089c2d (patch) | |
tree | cac1e613a55d874579c775c8cb681b275d26fa52 /win32/ScintillaWin.cxx | |
parent | 046d1d2dcefe90b80b58330c043be32d7ef49d49 (diff) | |
download | scintilla-mirror-8e37e4efe5f90c7b6157ffd513ac418db7089c2d.tar.gz |
Implemented multipaste as an option.
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r-- | win32/ScintillaWin.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 9edd56ad3..d0f99c532 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -1376,10 +1376,7 @@ void ScintillaWin::InsertPasteText(const char *text, int len, SelectionPosition SetEmptySelection(sel.MainCaret() + len); } } else { - selStart = SelectionPosition(InsertSpace(selStart.Position(), selStart.VirtualSpace())); - if (pdoc->InsertString(selStart.Position(), text, len)) { - SetEmptySelection(selStart.Position() + len); - } + InsertPaste(selStart, text, len); } delete []convertedText; } |