aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-06-10 09:21:12 +1000
committerNeil <nyamatongwe@gmail.com>2021-06-10 09:21:12 +1000
commitc9394092df9b424b262e06139d2e4abdac8f78a3 (patch)
treedf61f9d4f10b55ef121724a1918d6ba0638b2fa5 /src/Editor.cxx
parentb5e8caaacbd47583c79bf862e5e6a021bcfc3964 (diff)
downloadscintilla-mirror-c9394092df9b424b262e06139d2e4abdac8f78a3.tar.gz
Rename SCI_PASTERECTANGULAR to SCI_REPLACERECTANGULAR as it is inserting text
provided as an argument instead of from the system clipboard.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index da22161c6..71aaeae53 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -5940,7 +5940,7 @@ sptr_t Editor::WndProc(Message iMessage, uptr_t wParam, sptr_t lParam) {
EnsureCaretVisible();
break;
- case Message::PasteRectangular: {
+ case Message::ReplaceRectangular: {
UndoGroup ug(pdoc);
if (!sel.Empty()) {
ClearSelection(); // want to replace rectangular selection contents