Kaydet (Commit) c3828e44 authored tarafından Colomban Wendling's avatar Colomban Wendling

Highlight triple-quoted verbatims in Vala, Genie and Scala filtypes

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5698 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst b88a277a
......@@ -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>
......
......@@ -31,6 +31,9 @@ primary=abstract and array as assert async bool break byte case cast char class
# 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
......
......@@ -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
......
......@@ -15,7 +15,7 @@ preprocessor=preprocessor
operator=operator
identifier=default
stringeol=stringeol
# @"verbatim"
# @"verbatim" and """multi-line verbatim"""
verbatim=extra
# (/regex/)
regex=extra
......
......@@ -38,6 +38,7 @@ preprocessor.symbol.$(file.patterns.cpp)=#
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment