Patch #1098 2006-06-05 17:31

sethjackson

Properties lexer
Download
1098-Properties_lex.patch (1.5 KB)
Category
Lexer
Status
Accepted
Close date
2006-06-09 13:45
Assigned to
 
Index: src/sdk/resources/lexers/lexer_properties.sample
===================================================================
--- src/sdk/resources/lexers/lexer_properties.sample    (revision 0)
+++ src/sdk/resources/lexers/lexer_properties.sample    (revision 0)
@@ -0,0 +1,11 @@
+# Section
+
+[foo]
+
+# Assignment operator
+
+x=y
+
+# Default value
+
+@foo
Index: src/sdk/resources/lexers/lexer_properties.xml
===================================================================
--- src/sdk/resources/lexers/lexer_properties.xml    (revision 0)
+++ src/sdk/resources/lexers/lexer_properties.xml    (revision 0)
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!DOCTYPE CodeBlocks_lexer_properties>
+<CodeBlocks_lexer_properties>
+        <Lexer name="Properties"
+                index="9"
+                filemasks="*.properties,*.ini,*.inf,*.reg,*.url,*.cfg,*.cnf,*.aut">
+                <Style name="Default"
+                        index="0"
+                        fg="0,0,0"
+                        bg="255,255,255"
+                        bold="0"
+                        italics="0"
+                        underlined="0"/>
+                <Style name="Comment"
+                        index="1"
+                        fg="160,160,160"/>
+                <Style name="Section"
+                        index="2"
+                        fg="128,0,128"/>
+                <Style name="Assignment operator"
+                        index="3"
+                        fg="255,0,0"/>
+                <Style name="Default value (@)"
+                        index="4"
+                        fg="128,128,0"/>
+                <SampleCode value="lexer_properties.sample"/>
+        </Lexer>
+</CodeBlocks_lexer_properties>