~aquaratixc/d-codeblocks-lexer

f9d2ab66936c6725e0091093d3736ac27e6b7c96 — aquaratixc 9 years ago 4b5a343 master
Adding D lexer file
1 files changed, 143 insertions(+), 0 deletions(-)

A lexer_d.xml
A lexer_d.xml => lexer_d.xml +143 -0
@@ 0,0 1,143 @@
<?xml version="1.0"?>
<!DOCTYPE CodeBlocks_lexer_properties>
<CodeBlocks_lexer_properties>
		<Lexer name="D"
				index="79"
				filemasks="*.d,*.dd,*.di">
				<Style name="Default"
						index="0"
						fg="0,0,0"
						bg="249,249,249"
						bold="0"
						italics="0"
						underlined="0"/>
				<Style name="Comment"
						index="1"
						fg="0,128,0"/>
				<Style name="Commentline"
						index="2"
						fg="0,128,0"/>
				<Style name="Comment (doc)"
						index="3"
						fg="107,107,107"
						italics="1"/>
				<Style name="Comment (nested)"
						index="4"
						fg="107,107,107"
						italics="1"/>
				<Style name="Number"
						index="5"
						fg="0,100,100"/>
				<Style name="Keyword 1"
						index="6"
						fg="0,0,255"/>
				<Style name="Keyword 2"
						index="7"
						fg="42,130,210"
						bold="1"/>
				<Style name="Keyword 3"
						index="8"
						fg="0,0,255"/>
				<Style name="Keyword 4"
						index="9"
						fg="0,0,255"/>
				<Style name="String"
						index="10,11,18"
						fg="231,34,34"/>
				<Style name="Rawstring"
						index="19"
						fg="219,0,14"/>
				<Style name="Character"
						index="12"
						fg="193,135,0"/>
				<Style name="Operator"
						index="13"
						fg="83,40,40"/>
				<Style name="Identifier"
						index="14"
						fg="0,0,0"/>
				<Style name="Commentline (doc)"
						index="15"
						fg="107,107,107"
						italics="1"/>
				<Style name="Comment keyword (doc)"
						index="16"
						fg="0,128,128"
						italics="1"/>
				<Style name="Comment keyword error (doc)"
						index="17"
						fg="128,0,0"
						italics="1"
						bold="1"/>
				<Style name="Keyword 5"
						index="20"
						fg="0,113,240"/>
				<Style name="Keyword 6"
						index="21"
						fg="0,0,102"/>
				<Style name="Keyword 7"
						index="22"
						fg="153,0,112"/>
				<Style name="Selection"
						index="-99"
						bg="192,192,192"/>
				<Style name="Active line"
						index="-98"
						bg="255,255,160"/>
				<Style name="Breakpoint line"
						index="-2"
						bg="255,160,160"/>
				<Style name="Debugger active line"
						index="-3"
						bg="160,160,255"/>
				<Style name="Compiler error line"
						index="-4"
						bg="255,128,0"/>
				<Style name="Matching brace highlight"
						index="34"
						fg="255,0,0"
						bold="1"/>
				<Style name="No matching brace highlight"
						index="35"
						bg="255,0,0"/>
				<Keywords>
						<Set index="0" value="void byte bool ubyte short ushort int uint long ulong cent ucent float double real ifloat
								idouble ireal cfloat cdouble creal char wchar dchar body asm bool true false function delegate string"/>
						<Set index="1" value="public private protected with extern
								final abstract override const debug version pragma public private deprecated protected volatile
								class struct interface enum new this null delete invariant super union template
								is import module alias typedef with cast package typeof typeid classinfo mixin
								in out const static inout lazy ref extern export auto align scope pure
								if for foreach foreach_reverse while do assert return unittest try catch else throw switch case break continue default finally goto synchronized immutable
shared __gshared __parameters property safe trusted system nogc disable nothrow"/>
						<Set index="2"
								value="a addindex addtogroup anchor arg attention
								author b brief bug c class code date def defgroup deprecated dontinclude
								e em endcode endhtmlonly endif endlatexonly endlink endverbatim enum example exception
								f$ f[ f] file fn hideinitializer htmlinclude htmlonly
								if image include ingroup internal invariant interface latexonly li line link
								mainpage name namespace nosubgrouping note overload
								p page par param post pre ref relates remarks return retval
								sa section see showinitializer since skip skipline struct subsection
								test throw todo typedef union until
								var verbatim verbinclude version warning weakgroup $ @ \ & < > # { }"/>
                        <Set index="3" value="__traits isAbstractClass isArithmetic isAssociativeArray isFinalClass isPOD isNested isFloating isIntegral isScalar isStaticArray isUnsigned isVirtualFunction isVirtualMethod isAbstractFunction isFinalFunction isStaticFunction isOverrideFunction isRef isOut isLazy hasMember identifier getAliasThis getAttributes getMember getOverloads getProtection getVirtualFunctions getVirtualMethods getUnitTests parent classInstanceSize getVirtualIndex allMembers derivedMembers isSame compiles"/>
				</Keywords>
				<SampleCode value="lexer_d.sample"
						breakpoint_line="20"
						debug_line="22"
						error_line="23"/>
                <LanguageAttributes
                    LineComment="//"
                    StreamCommentStart="/*"
                    StreamCommentEnd="*/"
                    BoxCommentStart="/* "
                    BoxCommentMid=" * "
                    BoxCommentEnd=" */"
                    CaseSensitive="1"
                    LexerCommentStyles="1,2,3,4,15,17,18"
                    LexerCharacterStyles="12"
                    LexerStringStyles="10,11,18,19"
                    LexerPreprocessorStyles=""/>
		</Lexer>
</CodeBlocks_lexer_properties>