Revision: 5698 http://geany.svn.sourceforge.net/geany/?rev=5698&view=rev Author: colombanw Date: 2011-04-08 00:13:53 +0000 (Fri, 08 Apr 2011)
Log Message: ----------- Highlight triple-quoted verbatims in Vala, Genie and Scala filtypes
Modified Paths: -------------- trunk/ChangeLog trunk/data/filetypes.Genie.conf trunk/data/filetypes.Scala.conf trunk/data/filetypes.c trunk/data/filetypes.vala
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2011-04-08 00:13:37 UTC (rev 5697) +++ trunk/ChangeLog 2011-04-08 00:13:53 UTC (rev 5698) @@ -5,6 +5,9 @@ from Scintilla HG 3602:5536ed81a85b). * src/highlighting.c: Add highlight for triple-quoted verbatims. + * data/filetypes.c, data/filetypes.vala, data/filetypes.Genie.conf, + data/filetypes.Scala.conf: + Highlight triple-quoted verbatims in Vala, Genie and Scala filtypes.
2011-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/data/filetypes.Genie.conf =================================================================== --- trunk/data/filetypes.Genie.conf 2011-04-08 00:13:37 UTC (rev 5697) +++ trunk/data/filetypes.Genie.conf 2011-04-08 00:13:53 UTC (rev 5698) @@ -31,6 +31,9 @@ # these are some doxygen keywords (incomplete) docComment=attention author brief bug class code date def enum example exception file fn namespace note param remarks return see since struct throw todo typedef var version warning union
+[lexer_properties] +lexer.cpp.triplequoted.strings=1 + [settings] # Vala uses the C lexer lexer_filetype=C
Modified: trunk/data/filetypes.Scala.conf =================================================================== --- trunk/data/filetypes.Scala.conf 2011-04-08 00:13:37 UTC (rev 5697) +++ trunk/data/filetypes.Scala.conf 2011-04-08 00:13:53 UTC (rev 5698) @@ -5,11 +5,13 @@ [keywords] # all items must be in one line primary=abstract case catch class def do else extends false final finally for forSome if implicit import lazy match new object override package private protected requires return sealed throw trait true try type val var with while yield @ => - secondary=null super this AllRef Any AnyRef Array Attribute Elem Iterable List Option Some Stack String Unit Console Nil None Predef # these are some doxygen keywords (incomplete) docComment=attention author brief bug class code date def enum example exception file fn namespace note param remarks return see since struct throw todo typedef var version warning union
+[lexer_properties] +lexer.cpp.triplequoted.strings=1 + [settings] lexer_filetype=C
Modified: trunk/data/filetypes.c =================================================================== --- trunk/data/filetypes.c 2011-04-08 00:13:37 UTC (rev 5697) +++ trunk/data/filetypes.c 2011-04-08 00:13:53 UTC (rev 5698) @@ -15,7 +15,7 @@ operator=operator identifier=default stringeol=stringeol -# @"verbatim" +# @"verbatim" and """multi-line verbatim""" verbatim=extra # (/regex/) regex=extra
Modified: trunk/data/filetypes.vala =================================================================== --- trunk/data/filetypes.vala 2011-04-08 00:13:37 UTC (rev 5697) +++ trunk/data/filetypes.vala 2011-04-08 00:13:53 UTC (rev 5698) @@ -38,6 +38,7 @@ preprocessor.start.$(file.patterns.cpp)=if preprocessor.middle.$(file.patterns.cpp)=else elif preprocessor.end.$(file.patterns.cpp)=endif +lexer.cpp.triplequoted.strings=1
[settings] lexer_filetype=C
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.