TagManager that will recognize and handle this tag. Note that the tag instance is owned by this tag manager (i.e. it will be freed inside this tag manager). It can be nil if no tag manager currently owns this tag.
Note that it's very useful in Execute or OnExecute implementations.
E.g. you can use it to report a message by TagManager.DoMessage(...) , this is e.g. used by implementation of TPasItem.StoreAbstractTag.
You could also use this to manually force recursive behavior of a given tag. I.e let's suppose that you have a tag with TagOptions = [toParameterRequired], so the TagParameter parameter passed to handler was not recursively expanded. Then you can do inside your handler
NewTagParameter := TagManager.Execute(TagParameter, ...)
and this way you have explicitly recursively expanded the tag.
Scenario above is actually used in implementation of @noAutoLink tag. There I call TagManager.Execute with parameter AutoLink set to false thus preventing auto-linking inside text within @noAutoLink.
|