diff options
author | nyamatongwe <unknown> | 2011-06-14 14:30:17 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-06-14 14:30:17 +1000 |
commit | 33de65c9d3e02f1e3d2d71a0f5cfefa1cb4a0b0f (patch) | |
tree | d156a2a1fecdcbe010222cc99e63f1243fb67994 /include | |
parent | de1ba6ffa1e4c3fff61f6bcfb3315357ff28ae08 (diff) | |
download | scintilla-mirror-33de65c9d3e02f1e3d2d71a0f5cfefa1cb4a0b0f.tar.gz |
Add SCI_SETEMPTYSELECTION. Feature #3314877.
From Marko Njezic.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index d1f3c9dd2..6c0c7342d 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -333,6 +333,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_GETSELECTIONSTART 2143 #define SCI_SETSELECTIONEND 2144 #define SCI_GETSELECTIONEND 2145 +#define SCI_SETEMPTYSELECTION 2556 #define SCI_SETPRINTMAGNIFICATION 2146 #define SCI_GETPRINTMAGNIFICATION 2147 #define SC_PRINT_NORMAL 0 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 6bfac5d98..f21ee3e42 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -800,6 +800,9 @@ set void SetSelectionEnd=2144(position pos,) # Returns the position at the end of the selection. get position GetSelectionEnd=2145(,) +# Set caret to a position, while removing any existing selection. +fun void SetEmptySelection=2556(position pos,) + # Sets the print magnification added to the point size of each style for printing. set void SetPrintMagnification=2146(int magnification,) |