diff options
author | Marko Njezic <unknown> | 2011-06-10 14:38:39 +0200 |
---|---|---|
committer | Marko Njezic <unknown> | 2011-06-10 14:38:39 +0200 |
commit | d2f6831368cd662d7a403cb533f439159f884ca0 (patch) | |
tree | 7aae6e2815aced8376d3d1a67281c6ed86a62f91 /include | |
parent | d9de125c32c08f9c4579d166edccedbd2a70e19d (diff) | |
download | scintilla-mirror-d2f6831368cd662d7a403cb533f439159f884ca0.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) |