aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/ScintillaDoc.html
diff options
context:
space:
mode:
authorMarko Njezic <unknown>2011-06-10 14:38:39 +0200
committerMarko Njezic <unknown>2011-06-10 14:38:39 +0200
commitd2f6831368cd662d7a403cb533f439159f884ca0 (patch)
tree7aae6e2815aced8376d3d1a67281c6ed86a62f91 /doc/ScintillaDoc.html
parentd9de125c32c08f9c4579d166edccedbd2a70e19d (diff)
downloadscintilla-mirror-d2f6831368cd662d7a403cb533f439159f884ca0.tar.gz
Add an option to control how wrapped lines are selected when clicking on margin.
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r--doc/ScintillaDoc.html11
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>