From c6de3de1530c4bd4067cd6533de4a3a8c4092a5c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 26 Mar 2010 06:31:57 +0000 Subject: Added SCI_GETTAG. --- doc/ScintillaDoc.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index b23fea4c7..848a4beb0 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -772,6 +772,7 @@ struct Sci_TextToFind { *text)
SCI_REPLACETARGETRE(int length, const char *text)
+ SCI_GETTAG(int tagNumber, char *tagValue)

SCI_SETTARGETSTART(int pos)
@@ -818,6 +819,10 @@ struct Sci_TextToFind { After replacement, the target range refers to the replacement text. The return value is the length of the replacement string.

+

SCI_GETTAG(int tagNumber, char *tagValue)
+ Discover what text was matched by tagged expressions in a regular expression search. + This is useful if the application wants to interpret the replacement string itself.

+

See also: SCI_FINDTEXT

Overtype

@@ -2770,7 +2775,7 @@ struct Sci_TextToFind { The whole of the text margin on a line may be displayed in a particular style with SCI_MARGINSETSTYLE or each character may be individually styled with SCI_MARGINSETSTYLES which uses an array of bytes with each byte setting the style - of the corresponding text byte simlar to SCI_SETSTYLINGEX. + of the corresponding text byte similar to SCI_SETSTYLINGEX. Setting a text margin will cause a SC_MOD_CHANGEMARGIN notification to be sent. @@ -2822,7 +2827,7 @@ struct Sci_TextToFind { The whole of the text ANNOTATION on a line may be displayed in a particular style with SCI_ANNOTATIONSETSTYLE or each character may be individually styled with SCI_ANNOTATIONSETSTYLES which uses an array of bytes with each byte setting the style - of the corresponding text byte simlar to SCI_SETSTYLINGEX. The text must be set first as it + of the corresponding text byte similar to SCI_SETSTYLINGEX. The text must be set first as it specifies how long the annotation is so how many bytes of styling to read. Setting an annotation will cause a SC_MOD_CHANGEANNOTATION -- cgit v1.2.3