From 0abdcc845d2d5cdf431f0dfedf2885898aadcb27 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 26 Mar 2012 10:33:10 +1100 Subject: Update documentation for \0 change. --- doc/ScintillaDoc.html | 7 ++++--- 1 file 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 @@

Scintilla Documentation

-

Last edited 6/March/2012 NH

+

Last edited 26/March/2012 NH

There is an overview of the internal design of Scintilla.
@@ -664,7 +664,8 @@ struct Sci_TextRange { Where n is 1 through 9 refers to the first through ninth tagged region when replacing. For example, if the search string was Fred\([1-9]\)XXX and the replace string was Sam\1YYY, when applied to Fred2XXX this - would generate Sam2YYY. + would generate Sam2YYY. + \0 refers to all of the matching text. @@ -861,7 +862,7 @@ struct Sci_TextToFind { text is a zero terminated string, otherwise length is the number of characters to use. The replacement string is formed from the text string with any sequences of \1 through \9 replaced by tagged matches from the most recent regular - expression search. + expression search. \0 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.

-- cgit v1.2.3