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 /doc | |
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 'doc')
-rw-r--r-- | doc/ScintillaDoc.html | 11 |
1 files changed, 11 insertions, 0 deletions
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 { <a class="message" href="#SCI_MARGINTEXTCLEARALL">SCI_MARGINTEXTCLEARALL</a><br /> <a class="message" href="#SCI_MARGINSETSTYLEOFFSET">SCI_MARGINSETSTYLEOFFSET(int style)</a><br /> <a class="message" href="#SCI_MARGINGETSTYLEOFFSET">SCI_MARGINGETSTYLEOFFSET</a><br /> + <a class="message" href="#SCI_SETMARGINOPTIONS">SCI_SETMARGINOPTIONS(int marginOptions)</a><br /> + <a class="message" href="#SCI_GETMARGINOPTIONS">SCI_GETMARGINOPTIONS</a><br /> </code> <p><b id="SCI_SETMARGINTYPEN">SCI_SETMARGINTYPEN(int margin, int iType)</b><br /> @@ -2860,6 +2862,15 @@ struct Sci_TextToFind { 256 upto 511 so they do not overlap styles set by lexers. Each style number set with <code>SCI_MARGINSETSTYLE</code> or <code>SCI_MARGINSETSTYLES</code> has the offset added before looking up the style. </p> + <p> + <b id="SCI_SETMARGINOPTIONS">SCI_SETMARGINOPTIONS(int marginOptions)</b><br /> + <b id="SCI_GETMARGINOPTIONS">SCI_GETMARGINOPTIONS</b><br /> + Define margin options by enabling appropriate bit flags. At the moment, only one flag is available + <code>SC_MARGINOPTION_SUBLINESELECT</code>=1, which controls how wrapped lines are selected when clicking + on margin in front of them. If <code>SC_MARGINOPTION_SUBLINESELECT</code> is set only sub line of wrapped + line is selected, otherwise whole wrapped line is selected. Margin options are set to + <code>SC_MARGINOPTION_NONE</code>=0 by default. + </p> <h2 id="Annotations">Annotations</h2> |