Repository navigation
Expand file tree
/
Copy pathIColorizeText.xml
More file actions
95 lines (95 loc) · 5.75 KB
/
Copy pathIColorizeText.xml
File metadata and controls
95 lines (95 loc) · 5.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<Type Name="IColorizeText" FullName="Microsoft.JScript.IColorizeText">
<TypeSignature Language="C#" Value="public interface IColorizeText" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IColorizeText" />
<TypeSignature Language="DocId" Value="T:Microsoft.JScript.IColorizeText" />
<TypeSignature Language="VB.NET" Value="Public Interface IColorizeText" />
<TypeSignature Language="C++ CLI" Value="public interface class IColorizeText" />
<AssemblyInfo>
<AssemblyName>Microsoft.JScript</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.Guid("DB283E60-7ADB-4cf6-9758-2931893A12FC")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Defines services for colorizing text when JScript code is being authored in an editor.</summary>
<remarks>To be added.</remarks>
<forInternalUseOnly />
<altmember cref="T:Microsoft.JScript.JSAuthor" />
<altmember cref="T:Microsoft.JScript.ITokenEnumerator" />
<altmember cref="T:Microsoft.JScript.ITokenColorInfo" />
<altmember cref="T:Microsoft.JScript.TokenColor" />
<altmember cref="T:Microsoft.JScript.JSToken" />
</Docs>
<Members>
<Member MemberName="Colorize">
<MemberSignature Language="C#" Value="public Microsoft.JScript.ITokenEnumerator Colorize (string sourceCode, Microsoft.JScript.SourceState state);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.JScript.ITokenEnumerator Colorize(string sourceCode, valuetype Microsoft.JScript.SourceState state) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.JScript.IColorizeText.Colorize(System.String,Microsoft.JScript.SourceState)" />
<MemberSignature Language="VB.NET" Value="Public Function Colorize (sourceCode As String, state As SourceState) As ITokenEnumerator" />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::JScript::ITokenEnumerator ^ Colorize(System::String ^ sourceCode, Microsoft::JScript::SourceState state);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.JScript</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.JScript.ITokenEnumerator</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="sourceCode" Type="System.String" />
<Parameter Name="state" Type="Microsoft.JScript.SourceState" />
</Parameters>
<Docs>
<param name="sourceCode">The source code to colorize.</param>
<param name="state">The current state (normal, comment, string) of the source code.</param>
<summary>When implemented in a class, scans the specified source code for individual units of code and identifies the color that each should have.</summary>
<returns>An enumeration of <see cref="T:Microsoft.JScript.ITokenColorInfo" /> objects that represent units of code to colorize.</returns>
<remarks>To be added.</remarks>
<forInternalUseOnly />
<altmember cref="T:Microsoft.JScript.JSAuthor" />
<altmember cref="T:Microsoft.JScript.ITokenEnumerator" />
<altmember cref="T:Microsoft.JScript.TokenColor" />
<altmember cref="T:Microsoft.JScript.JSToken" />
</Docs>
</Member>
<Member MemberName="GetStateForText">
<MemberSignature Language="C#" Value="public Microsoft.JScript.SourceState GetStateForText (string sourceCode, Microsoft.JScript.SourceState currentState);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype Microsoft.JScript.SourceState GetStateForText(string sourceCode, valuetype Microsoft.JScript.SourceState currentState) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.JScript.IColorizeText.GetStateForText(System.String,Microsoft.JScript.SourceState)" />
<MemberSignature Language="VB.NET" Value="Public Function GetStateForText (sourceCode As String, currentState As SourceState) As SourceState" />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::JScript::SourceState GetStateForText(System::String ^ sourceCode, Microsoft::JScript::SourceState currentState);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.JScript</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.JScript.SourceState</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="sourceCode" Type="System.String" />
<Parameter Name="currentState" Type="Microsoft.JScript.SourceState" />
</Parameters>
<Docs>
<param name="sourceCode">The source code to analyze.</param>
<param name="currentState">The current state (normal, comment, string) of the source code.</param>
<summary>When implemented in a class, scans the specified source code for individual units of code and identifies the state (normal, comment, string) of the specified code.</summary>
<returns>The state of the source code.</returns>
<remarks>To be added.</remarks>
<forInternalUseOnly />
<altmember cref="T:Microsoft.JScript.JSAuthor" />
<altmember cref="T:Microsoft.JScript.ITokenEnumerator" />
<altmember cref="T:Microsoft.JScript.ITokenColorInfo" />
<altmember cref="T:Microsoft.JScript.TokenColor" />
<altmember cref="T:Microsoft.JScript.JSToken" />
</Docs>
</Member>
</Members>
</Type>