diff options
-rw-r--r-- | doc/ScintillaDoc.html | 4 |
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 |