aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-11-15 08:19:12 +1100
committerNeil <nyamatongwe@gmail.com>2019-11-15 08:19:12 +1100
commit2ceaae0b1f19981706806cd71a1dff695b72cc1a (patch)
treeed11c4b4f901369c89fbec4cb5a91f16ad6c5e56 /include
parenta085cc290740259d076f1e19c4b2d1002853f2b7 (diff)
downloadscintilla-mirror-2ceaae0b1f19981706806cd71a1dff695b72cc1a.tar.gz
Feature [feature-requests:#1316] Add access to virtual space at start and end of
multiple selections.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h2
-rw-r--r--include/Scintilla.iface6
2 files changed, 8 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 40a2c8eca..59ab2ff7a 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -931,7 +931,9 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_GETSELECTIONNANCHORVIRTUALSPACE 2583
#define SCI_SETSELECTIONNSTART 2584
#define SCI_GETSELECTIONNSTART 2585
+#define SCI_GETSELECTIONNSTARTVIRTUALSPACE 2726
#define SCI_SETSELECTIONNEND 2586
+#define SCI_GETSELECTIONNENDVIRTUALSPACE 2727
#define SCI_GETSELECTIONNEND 2587
#define SCI_SETRECTANGULARSELECTIONCARET 2588
#define SCI_GETRECTANGULARSELECTIONCARET 2589
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 1daaf4b9d..9fa952f95 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -2599,9 +2599,15 @@ set void SetSelectionNStart=2584(int selection, position anchor)
# Returns the position at the start of the selection.
get position GetSelectionNStart=2585(int selection,)
+# Returns the virtual space at the start of the selection.
+get position GetSelectionNStartVirtualSpace=2726(int selection,)
+
# Sets the position that ends the selection - this becomes the currentPosition.
set void SetSelectionNEnd=2586(int selection, position caret)
+# Returns the virtual space at the end of the selection.
+get position GetSelectionNEndVirtualSpace=2727(int selection,)
+
# Returns the position at the end of the selection.
get position GetSelectionNEnd=2587(int selection,)