aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/Scintilla.iface3
-rw-r--r--include/ScintillaCall.h1
-rw-r--r--include/ScintillaMessages.h1
4 files changed, 6 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 43a41e986..5b85dac47 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -875,6 +875,7 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP
#define SC_SEL_THIN 3
#define SCI_SETSELECTIONMODE 2422
#define SCI_GETSELECTIONMODE 2423
+#define SCI_SETMOVEEXTENDSSELECTION 2719
#define SCI_GETMOVEEXTENDSSELECTION 2706
#define SCI_GETLINESELSTARTPOSITION 2424
#define SCI_GETLINESELENDPOSITION 2425
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 9f02c78d2..b15606af0 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -2362,6 +2362,9 @@ set void SetSelectionMode=2422(SelectionMode selectionMode,)
# Get the mode of the current selection.
get SelectionMode GetSelectionMode=2423(,)
+# Set whether or not regular caret moves will extend or reduce the selection.
+set void SetMoveExtendsSelection=2719(bool moveExtendsSelection,)
+
# Get whether or not regular caret moves will extend or reduce the selection.
get bool GetMoveExtendsSelection=2706(,)
diff --git a/include/ScintillaCall.h b/include/ScintillaCall.h
index 8a01f2acb..0c95ef9e7 100644
--- a/include/ScintillaCall.h
+++ b/include/ScintillaCall.h
@@ -635,6 +635,7 @@ public:
void CopyText(Position length, const char *text);
void SetSelectionMode(Scintilla::SelectionMode selectionMode);
Scintilla::SelectionMode SelectionMode();
+ void SetMoveExtendsSelection(bool moveExtendsSelection);
bool MoveExtendsSelection();
Position GetLineSelStartPosition(Line line);
Position GetLineSelEndPosition(Line line);
diff --git a/include/ScintillaMessages.h b/include/ScintillaMessages.h
index 12b2c2504..e45398d72 100644
--- a/include/ScintillaMessages.h
+++ b/include/ScintillaMessages.h
@@ -557,6 +557,7 @@ enum class Message {
CopyText = 2420,
SetSelectionMode = 2422,
GetSelectionMode = 2423,
+ SetMoveExtendsSelection = 2719,
GetMoveExtendsSelection = 2706,
GetLineSelStartPosition = 2424,
GetLineSelEndPosition = 2425,