aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
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 /include
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 'include')
-rw-r--r--include/Scintilla.h2
-rw-r--r--include/Scintilla.iface4
-rw-r--r--include/ScintillaMessages.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index c74332dc3..de96d81d8 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -885,7 +885,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_TOGGLECARETSTICKY 2459
#define SCI_SETPASTECONVERTENDINGS 2467
#define SCI_GETPASTECONVERTENDINGS 2468
-#define SCI_PASTERECTANGULAR 2771
+#define SCI_REPLACERECTANGULAR 2771
#define SCI_SELECTIONDUPLICATE 2469
#define SCI_SETCARETLINEBACKALPHA 2470
#define SCI_GETCARETLINEBACKALPHA 2471
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index d8e8fc21a..4cb76e3b3 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -2439,8 +2439,8 @@ set void SetPasteConvertEndings=2467(bool convert,)
# Get convert-on-paste setting
get bool GetPasteConvertEndings=2468(,)
-# Paste into a rectangular selection.
-fun void PasteRectangular=2771(position length, string text)
+# Replace the selection with text like a rectangular paste.
+fun void ReplaceRectangular=2771(position length, string text)
# Duplicate the selection. If selection empty duplicate the line containing the caret.
fun void SelectionDuplicate=2469(,)
diff --git a/include/ScintillaMessages.h b/include/ScintillaMessages.h
index b5792d809..861981574 100644
--- a/include/ScintillaMessages.h
+++ b/include/ScintillaMessages.h
@@ -581,7 +581,7 @@ enum class Message {
ToggleCaretSticky = 2459,
SetPasteConvertEndings = 2467,
GetPasteConvertEndings = 2468,
- PasteRectangular = 2771,
+ ReplaceRectangular = 2771,
SelectionDuplicate = 2469,
SetCaretLineBackAlpha = 2470,
GetCaretLineBackAlpha = 2471,