aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-01-20 02:25:37 +0000
committernyamatongwe <devnull@localhost>2010-01-20 02:25:37 +0000
commit768e0c5c1eb12f30cc98f2a0faacf8bb5407f178 (patch)
treeeb87c75c72f427d8bec2920107189e8c2c36b2a6
parentc176f590a949df711b001ea271eb341f70977ed4 (diff)
downloadscintilla-mirror-768e0c5c1eb12f30cc98f2a0faacf8bb5407f178.tar.gz
Fix for first description of SCI_SEARCHINTARGET.
Fixes bug #2935229.
-rw-r--r--doc/ScintillaDoc.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index a1f0b38a8..e37286dd8 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -747,8 +747,8 @@ struct TextToFind {
<code>SCI_REPLACETARGET</code> or <code>SCI_REPLACETARGETRE</code>.</p>
<p>Searching can be performed within the target range with <code>SCI_SEARCHINTARGET</code>,
- which uses a counted string to allow searching for null characters. It returns the length of
- range or -1 for failure, in which case the target is not moved. The flags used by
+ which uses a counted string to allow searching for null characters. It returns the
+ position of the start of the matching text range or -1 for failure, in which case the target is not moved. The flags used by
<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>. <code>SCI_SEARCHINTARGET</code> may be simpler