Notice/system_dntb/Lexers/ActiproSoftware.XAML.xml

(开头部分) 10KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<SyntaxLanguage Key="XAML" LanguageDefinitionVersion="4.0" Secure="True" 
				xmlns="http://ActiproSoftware/SyntaxEditor/4.0/LanguageDefinition">

	<!-- String Properties -->
	<Properties>
		<Property Key="Creator" Value="Actipro Software LLC" />
		<Property Key="Copyright" Value="Copyright (c) 2001-2006 Actipro Software LLC.  All rights reserved." />
	</Properties>

	<!-- Triggers -->
	<Triggers>
		<KeyPressTrigger Key="TagAutoCompleteTrigger" Character="&gt;">
			<KeyPressTriggerValidStates>
				<KeyPressTriggerValidState State="StartTagState" />
				<KeyPressTriggerValidState State="StartTagAttributeState" />
				<KeyPressTriggerValidState State="StartTagAttributeValueState" />
			</KeyPressTriggerValidStates>
		</KeyPressTrigger>
	</Triggers>

	<!-- Highlighting Styles -->	
	<Styles>
		<Style Key="EntityStyle" ForeColor="Red" />
		<Style Key="TagDelimiterStyle" ForeColor="Blue" />
		<Style Key="TagNameStyle" ForeColor="Maroon" />
		<Style Key="TagAttributeStyle" ForeColor="Red" />
		<Style Key="TagAttributeValueStyle" ForeColor="Blue" />
		<Style Key="TagAttributeMarkupExtensionValueStyle" ForeColor="Olive" />		
		<Style Key="CommentDelimiterStyle" ForeColor="Green" />
		<Style Key="CommentDefaultStyle" ForeColor="Green" />
		<Style Key="ProcessingInstructionDelimiterStyle" ForeColor="Blue" />
		<Style Key="ProcessingInstructionDefaultStyle" ForeColor="Magenta" />
		<Style Key="DeclarationDelimiterStyle" ForeColor="Blue" />
		<Style Key="DeclarationDefaultStyle" ForeColor="Magenta" />
		<Style Key="CDATADelimiterStyle" ForeColor="Blue" />
		<Style Key="CDATADefaultStyle" ForeColor="Gray" />
	</Styles>

	<!-- Macros -->	
	<Macros>
		<!-- Redefine word macros to include hyphens -->
		<Macro Key="WordMacro" Value="[a-zA-Z_0-9\-]" />
		<Macro Key="NonWordMacro" Value="[^a-zA-Z_0-9\-]" />
		<!-- Tag name macro to include hyphens and colons -->
		<Macro Key="TagNameMacro" Value="[a-zA-Z_0-9\-:\.]" />
	</Macros>
	
	<!-- States -->
	<States>
		<!-- Text -->
		<State Key="DefaultState">
			<!-- Patterns Groups -->
			<PatternGroups>
				<!-- Entities -->
				<RegexPatternGroup TokenKey="EntityToken" Style="EntityStyle" PatternValue="&amp; {WordMacro}+ ;?" />
				<!-- Identifier -->
				<RegexPatternGroup TokenKey="IdentifierToken" PatternValue="{AlphaMacro}({WordMacro})*" />
				<!-- Whitespace -->
				<RegexPatternGroup TokenKey="WhitespaceToken" PatternValue="{WhitespaceMacro}+" IsWhitespace="True" />
			</PatternGroups>
后面还有 188 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。