diff options
author | Marko Njezic <devnull@localhost> | 2011-06-10 14:38:39 +0200 |
---|---|---|
committer | Marko Njezic <devnull@localhost> | 2011-06-10 14:38:39 +0200 |
commit | eb5cb13123d45c775db0499583dde98b7c8341ee (patch) | |
tree | 7e9f785f2814491f4a85797005def46b2b2aef80 /include | |
parent | 02d0fdde768bafca67b49ec9d1f2663c40ba2fc7 (diff) | |
download | scintilla-mirror-eb5cb13123d45c775db0499583dde98b7c8341ee.tar.gz |
Add an option to control how wrapped lines are selected when clicking on margin.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 4 | ||||
-rw-r--r-- | include/Scintilla.iface | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 54fcb3f38..8819b1b0c 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -730,6 +730,10 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_MARGINTEXTCLEARALL 2536 #define SCI_MARGINSETSTYLEOFFSET 2537 #define SCI_MARGINGETSTYLEOFFSET 2538 +#define SC_MARGINOPTION_NONE 0 +#define SC_MARGINOPTION_SUBLINESELECT 1 +#define SCI_SETMARGINOPTIONS 2539 +#define SCI_GETMARGINOPTIONS 2557 #define SCI_ANNOTATIONSETTEXT 2540 #define SCI_ANNOTATIONGETTEXT 2541 #define SCI_ANNOTATIONSETSTYLE 2542 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 0fe9ca876..773e29427 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1947,6 +1947,16 @@ set void MarginSetStyleOffset=2537(int style,) # Get the start of the range of style numbers used for margin text get int MarginGetStyleOffset=2538(,) +enu MarginOption=SC_MARGINOPTION_ +val SC_MARGINOPTION_NONE=0 +val SC_MARGINOPTION_SUBLINESELECT=1 + +# Set the margin options. +set void SetMarginOptions=2539(int marginOptions,) + +# Get the margin options. +get int GetMarginOptions=2557(,) + # Set the annotation text for a line set void AnnotationSetText=2540(int line, string text) |