diff options
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r-- | doc/ScintillaDoc.html | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 9fa7f94c1..d77536e5b 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -711,10 +711,15 @@ struct Sci_TextRange { <code>SCI_SEARCHINTARGET</code> such as <code>SCFIND_MATCHCASE</code>, <code>SCFIND_WHOLEWORD</code>, <code>SCFIND_WORDSTART</code>, and <code>SCFIND_REGEXP</code> can be set with <code>SCI_SETSEARCHFLAGS</code>.</p> - <code><a class="message" href="#SCI_SETTARGETSTART">SCI_SETTARGETSTART(position start)</a><br /> + <code> + <a class="message" href="#SCI_SETTARGETSTART">SCI_SETTARGETSTART(position start)</a><br /> <a class="message" href="#SCI_GETTARGETSTART">SCI_GETTARGETSTART → position</a><br /> + <a class="message" href="#SCI_SETTARGETSTARTVIRTUALSPACE">SCI_SETTARGETSTARTVIRTUALSPACE(position space)</a><br /> + <a class="message" href="#SCI_GETTARGETSTARTVIRTUALSPACE">SCI_GETTARGETSTARTVIRTUALSPACE → position</a><br /> <a class="message" href="#SCI_SETTARGETEND">SCI_SETTARGETEND(position end)</a><br /> <a class="message" href="#SCI_GETTARGETEND">SCI_GETTARGETEND → position</a><br /> + <a class="message" href="#SCI_SETTARGETENDVIRTUALSPACE">SCI_SETTARGETENDVIRTUALSPACE(position space)</a><br /> + <a class="message" href="#SCI_GETTARGETENDVIRTUALSPACE">SCI_GETTARGETENDVIRTUALSPACE → position</a><br /> <a class="message" href="#SCI_SETTARGETRANGE">SCI_SETTARGETRANGE(position start, position end)</a><br /> <a class="message" href="#SCI_TARGETFROMSELECTION">SCI_TARGETFROMSELECTION</a><br /> <a class="message" href="#SCI_TARGETWHOLEDOCUMENT">SCI_TARGETWHOLEDOCUMENT</a><br /> @@ -729,13 +734,22 @@ struct Sci_TextRange { <p><b id="SCI_SETTARGETSTART">SCI_SETTARGETSTART(position start)</b><br /> <b id="SCI_GETTARGETSTART">SCI_GETTARGETSTART → position</b><br /> + <b id="SCI_SETTARGETSTARTVIRTUALSPACE">SCI_SETTARGETSTARTVIRTUALSPACE(position space)</b><br /> + <b id="SCI_GETTARGETSTARTVIRTUALSPACE">SCI_GETTARGETSTARTVIRTUALSPACE → position</b><br /> <b id="SCI_SETTARGETEND">SCI_SETTARGETEND(position end)</b><br /> <b id="SCI_GETTARGETEND">SCI_GETTARGETEND → position</b><br /> + <b id="SCI_SETTARGETENDVIRTUALSPACE">SCI_SETTARGETENDVIRTUALSPACE(position space)</b><br /> + <b id="SCI_GETTARGETENDVIRTUALSPACE">SCI_GETTARGETENDVIRTUALSPACE → position</b><br /> <b id="SCI_SETTARGETRANGE">SCI_SETTARGETRANGE(position start, position end)</b><br /> These functions set and return the start and end of the target. When searching you can set start greater than end to find the last matching text in the - target rather than the first matching text. The target is also set by a successful + target rather than the first matching text. + Setting a target position with <code>SCI_SETTARGETSTART</code>, <code>SCI_SETTARGETEND</code>, or <code>SCI_SETTARGETRANGE</code> + sets the virtual space to 0. + The target is also set by a successful <code>SCI_SEARCHINTARGET</code>.</p> + <p>The virtual space of the target range can be set and retrieved with the corresponding <code>...VIRTUALSPACE</code> + methods. This allows text to be inserted in virtual space more easily.</p> <p><b id="SCI_TARGETFROMSELECTION">SCI_TARGETFROMSELECTION</b><br /> Set the target start and end to the start and end positions of the selection.</p> |