aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/ScintillaDoc.html
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-06-14 14:30:17 +1000
committernyamatongwe <unknown>2011-06-14 14:30:17 +1000
commit33de65c9d3e02f1e3d2d71a0f5cfefa1cb4a0b0f (patch)
treed156a2a1fecdcbe010222cc99e63f1243fb67994 /doc/ScintillaDoc.html
parentde1ba6ffa1e4c3fff61f6bcfb3315357ff28ae08 (diff)
downloadscintilla-mirror-33de65c9d3e02f1e3d2d71a0f5cfefa1cb4a0b0f.tar.gz
Add SCI_SETEMPTYSELECTION. Feature #3314877.
From Marko Njezic.
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r--doc/ScintillaDoc.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 8446cf895..1e541bbb8 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -79,7 +79,7 @@
<h1>Scintilla Documentation</h1>
- <p>Last edited 13/June/2011 NH</p>
+ <p>Last edited 13/June/2011 MNJ</p>
<p>There is <a class="jump" href="Design.html">an overview of the internal design of
Scintilla</a>.<br />
@@ -1077,6 +1077,7 @@ struct Sci_TextToFind {
<a class="message" href="#SCI_GETSELECTIONSTART">SCI_GETSELECTIONSTART</a><br />
<a class="message" href="#SCI_SETSELECTIONEND">SCI_SETSELECTIONEND(int position)</a><br />
<a class="message" href="#SCI_GETSELECTIONEND">SCI_GETSELECTIONEND</a><br />
+ <a class="message" href="#SCI_SETEMPTYSELECTION">SCI_SETEMPTYSELECTION(int pos)</a><br />
<a class="message" href="#SCI_SELECTALL">SCI_SELECTALL</a><br />
<a class="message" href="#SCI_LINEFROMPOSITION">SCI_LINEFROMPOSITION(int position)</a><br />
<a class="message" href="#SCI_POSITIONFROMLINE">SCI_POSITIONFROMLINE(int line)</a><br />
@@ -1229,6 +1230,9 @@ struct Sci_TextToFind {
current position or the anchor position. <code>SCI_GETSELECTIONEND</code> returns the larger of
the two values.</p>
+ <p><b id="SCI_SETEMPTYSELECTION">SCI_SETEMPTYSELECTION(int pos)</b><br />
+ This removes any selection and sets the caret at <code>pos</code>. The caret is not scrolled into view.</p>
+
<p><b id="SCI_SELECTALL">SCI_SELECTALL</b><br />
This selects all the text in the document. The current position is not scrolled into view.</p>