From d2f6831368cd662d7a403cb533f439159f884ca0 Mon Sep 17 00:00:00 2001 From: Marko Njezic Date: Fri, 10 Jun 2011 14:38:39 +0200 Subject: Add an option to control how wrapped lines are selected when clicking on margin. --- doc/ScintillaDoc.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index d01d3df03..8ed6dd9d1 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -2753,6 +2753,8 @@ struct Sci_TextToFind { SCI_MARGINTEXTCLEARALL
SCI_MARGINSETSTYLEOFFSET(int style)
SCI_MARGINGETSTYLEOFFSET
+ SCI_SETMARGINOPTIONS(int marginOptions)
+ SCI_GETMARGINOPTIONS

SCI_SETMARGINTYPEN(int margin, int iType)
@@ -2860,6 +2862,15 @@ struct Sci_TextToFind { 256 upto 511 so they do not overlap styles set by lexers. Each style number set with SCI_MARGINSETSTYLE or SCI_MARGINSETSTYLES has the offset added before looking up the style.

+

+ SCI_SETMARGINOPTIONS(int marginOptions)
+ SCI_GETMARGINOPTIONS
+ Define margin options by enabling appropriate bit flags. At the moment, only one flag is available + SC_MARGINOPTION_SUBLINESELECT=1, which controls how wrapped lines are selected when clicking + on margin in front of them. If SC_MARGINOPTION_SUBLINESELECT is set only sub line of wrapped + line is selected, otherwise whole wrapped line is selected. Margin options are set to + SC_MARGINOPTION_NONE=0 by default. +

Annotations

-- cgit v1.2.3