From c4c1e78dac7a2571a375fada7a5552802a6fd67b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 7 Feb 2002 01:02:47 +0000 Subject: After rectangular paste, caret is left at initial position. --- src/Editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index 613cd0a1e..7f7ea7168 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2086,7 +2086,7 @@ void Editor::PasteRectangular(int pos, const char *ptr, int len) { } } pdoc->EndUndoAction(); - SetEmptySelection(insertPos); + SetEmptySelection(pos); } bool Editor::CanPaste() { -- cgit v1.2.3