aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-03-09 03:02:33 +0000
committernyamatongwe <devnull@localhost>2000-03-09 03:02:33 +0000
commit0b2d7bed9cba3082dc75c7405b042c7426e3cf83 (patch)
tree42a3743c512569c9deb14ed4cd38004027c28a1c /src/Editor.cxx
parent481cc19526c5383be2635196efc28b04aea7906a (diff)
downloadscintilla-mirror-0b2d7bed9cba3082dc75c7405b042c7426e3cf83.tar.gz
After paste, view repositioned to ensure caret visible.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 1ead18d34..4723d8850 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -2692,6 +2692,7 @@ LRESULT Editor::WndProc(UINT iMessage, WPARAM wParam, LPARAM lParam) {
case WM_PASTE:
Paste();
SetLastXChosen();
+ EnsureCaretVisible();
break;
case WM_CLEAR: