aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-01-20 02:25:37 +0000
committernyamatongwe <unknown>2010-01-20 02:25:37 +0000
commit2781727358d346c0d2bbb45142d7082b14b7a593 (patch)
treeeb87c75c72f427d8bec2920107189e8c2c36b2a6
parent19a291fe1dee8c959d599a17f73643d55bbd442c (diff)
downloadscintilla-mirror-2781727358d346c0d2bbb45142d7082b14b7a593.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