FrontPage
»
DebugInterfaces
»
IActiveScriptDebug
class IActiveScriptDebug: "provides syntax coloring and code context enumeration" def GetScriptTextAttributes(self, Code, Delimiter, Flags): """Used for syntax colouring, given a code block, delimiters in the code block and flags described in IActiveScriptParse, return list of text attributes.""" def GetScriptletTextAttributes(self, Code, Delimiter, Flags): """Returns the text attributes for an arbitrary scriplet. Scriplets tend to be expressions and may have a different syntax than a script block. For many languages, the implementation may be identical.""" def EnumCodeContextsOfPosition(self, SourceContext, CharacterOffset, NumChars): """Returns an enumerator of code contexts that support IEnumDebugCodeContexts interface. SourceContext is provided by IActiveScriptParse::ParseScriptText"""