aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-03-26 10:33:10 +1100
committernyamatongwe <unknown>2012-03-26 10:33:10 +1100
commit0abdcc845d2d5cdf431f0dfedf2885898aadcb27 (patch)
treeb684801fae20d5240a9bfb6d4c97e90b2989c0b0
parent5a5bf314e81c24f22f122777c5fffb34561b912e (diff)
downloadscintilla-mirror-0abdcc845d2d5cdf431f0dfedf2885898aadcb27.tar.gz
Update documentation for \0 change.
-rw-r--r--doc/ScintillaDoc.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 0dde0a958..2536b36c6 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -79,7 +79,7 @@
<h1>Scintilla Documentation</h1>
- <p>Last edited 6/March/2012 NH</p>
+ <p>Last edited 26/March/2012 NH</p>
<p>There is <a class="jump" href="Design.html">an overview of the internal design of
Scintilla</a>.<br />
@@ -664,7 +664,8 @@ struct Sci_TextRange {
<td>Where <code>n</code> is 1 through 9 refers to the first through ninth tagged region
when replacing. For example, if the search string was <code>Fred\([1-9]\)XXX</code> and
the replace string was <code>Sam\1YYY</code>, when applied to <code>Fred2XXX</code> this
- would generate <code>Sam2YYY</code>.</td>
+ would generate <code>Sam2YYY</code>.
+ <code>\0</code> refers to all of the matching text.</td>
</tr>
<tr>
@@ -861,7 +862,7 @@ struct Sci_TextToFind {
<code>text</code> is a zero terminated string, otherwise <code>length</code> is the number of
characters to use. The replacement string is formed from the text string with any sequences of
<code>\1</code> through <code>\9</code> replaced by tagged matches from the most recent regular
- expression search.
+ expression search. <code>\0</code> is replaced with all the matched text from the most recent search.
After replacement, the target range refers to the replacement text.
The return value is the length of the replacement string.</p>