diff options
| author | Neil <nyamatongwe@gmail.com> | 2019-11-15 08:19:12 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2019-11-15 08:19:12 +1100 |
| commit | 3b72fe93906e4c6b8c800cf2c7b986bc2c2c89a2 (patch) | |
| tree | 9ec118225cfc6c07a3963a19e8cf6b8dbc46d763 /include | |
| parent | 03203843a7ccaef46938a7e54ff6c0fd838cafdf (diff) | |
| download | scintilla-mirror-3b72fe93906e4c6b8c800cf2c7b986bc2c2c89a2.tar.gz | |
Backport: Feature [feature-requests:#1316] Add access to virtual space at start and end of
multiple selections.
Backport of changeset 7767:80102fe650b2.
Diffstat (limited to 'include')
| -rw-r--r-- | include/Scintilla.h | 2 | ||||
| -rw-r--r-- | include/Scintilla.iface | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index fbbc173d6..693e8e460 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -933,7 +933,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 5194828cb..2aec8d092 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -2606,9 +2606,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,) |
