More themes
This commit is contained in:
parent
7338d36f37
commit
9128025973
5 changed files with 37 additions and 2 deletions
1
colout/colout_clang.py
Symbolic link
1
colout/colout_clang.py
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
colout_g++.py
|
||||||
13
colout/colout_configure.py
Normal file
13
colout/colout_configure.py
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
#encoding: utf-8
|
||||||
|
|
||||||
|
def theme(context):
|
||||||
|
|
||||||
|
return context, [
|
||||||
|
["^(checking .*)(yes|found|ok)$","green", "normal,bold"],
|
||||||
|
["^(checking .*)(no|none)$", "yellow", "normal,bold"],
|
||||||
|
["^(configure:) (error:)(.*)", "red","normal,bold"],
|
||||||
|
["^(configure:)(.*)", "magenta","normal,bold"],
|
||||||
|
["^(checking .*)", "blue",""],
|
||||||
|
["^(config.status:) (creating )(.*)", "cyan,blue","normal,normal,bold"],
|
||||||
|
["^(config.status:) (executing )(.*)", "cyan,green","normal,normal,bold"],
|
||||||
|
]
|
||||||
17
colout/colout_ctest.py
Normal file
17
colout/colout_ctest.py
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
|
||||||
|
def theme(context):
|
||||||
|
# CTest theme:
|
||||||
|
passed="green"
|
||||||
|
notpassed="red"
|
||||||
|
|
||||||
|
# If the user do not ask for his own colormap
|
||||||
|
# if not context["user_defined_colormaps"]:
|
||||||
|
# # A palette that goes: purple, orange, white
|
||||||
|
# percs = [45, 39, 33, 27, 21, 57, 63, 62, 98, 97, 133, 132, 138, 173, 172, 208, 214, 220, 226, 228, 229, 230, 231, 255]
|
||||||
|
# context["colormaps"]["Scale"] = percs
|
||||||
|
|
||||||
|
return context,[
|
||||||
|
# Passed
|
||||||
|
[ "^\s*[0-9]+/[0-9]+ Test\s+#[0-9]+: (.*)\s+\.+\s+(Passed)", passed],
|
||||||
|
[ "^\s*[0-9]+/[0-9]+ Test\s+#[0-9]+: (.*)\s+\.+(\*{3}.*)\s+.*", notpassed]
|
||||||
|
]
|
||||||
|
|
@ -76,7 +76,8 @@ def theme(context):
|
||||||
[ qo+"(.*?)"+qc, "Cpp", "monokai" ],
|
[ qo+"(.*?)"+qc, "Cpp", "monokai" ],
|
||||||
|
|
||||||
# source code after a "note: candidate are/is:"
|
# source code after a "note: candidate are/is:"
|
||||||
[ _("note: ")+"((?!.*(candidate|"+qo+"|"+qc+")).*)$", "Cpp", "monokai" ],
|
[ _("note: ")+"((?!.*("+qo+"|"+qc+")).*)$", "Cpp", "monokai" ],
|
||||||
|
# [ _("note: ")+"(candidate:)(.*)$", "green,Cpp", "normal,monokai" ],
|
||||||
# after the code part, to avoid matching ANSI escape chars
|
# after the code part, to avoid matching ANSI escape chars
|
||||||
[ _("note: "), "green", "normal" ]
|
[ _("note: "), "green", "normal" ]
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -6,13 +6,16 @@ def theme(context):
|
||||||
["(LaTeX Warning): (.*) `(.*)' on page [0-9] (.*) on input line [0-9]+.$",
|
["(LaTeX Warning): (.*) `(.*)' on page [0-9] (.*) on input line [0-9]+.$",
|
||||||
"magenta,magenta,white,magenta", "normal,bold,normal" ],
|
"magenta,magenta,white,magenta", "normal,bold,normal" ],
|
||||||
["(LaTeX Warning): (.*)", "magenta", "normal,bold" ],
|
["(LaTeX Warning): (.*)", "magenta", "normal,bold" ],
|
||||||
|
["(LaTeX Error): (.*)", "red", "normal,bold" ],
|
||||||
|
["^(.*\.tex):([0-9]+): (.*)", "white,yellow,red", "normal,normal,bold" ],
|
||||||
# ["on (page [0-9]+)", "yellow", "normal" ],
|
# ["on (page [0-9]+)", "yellow", "normal" ],
|
||||||
["on input (line [0-9]+)", "yellow", "normal" ],
|
["on input (line [0-9]+)", "yellow", "normal" ],
|
||||||
["^! .*$", "red", "bold"],
|
["^! .*$", "red", "bold"],
|
||||||
["(.*erfull) ([^\s]+).* in [^\s]+ at (lines [0-9]+--[0-9]+)",
|
["(.*erfull) ([^\s]+).* in [^\s]+ at (lines [0-9]+--[0-9]+)",
|
||||||
"magenta,magenta,yellow", "normal"],
|
"magenta,magenta,yellow", "normal"],
|
||||||
["\\[^\s]+\s", "white", "bold"],
|
["\\[^\s]+\s", "white", "bold"],
|
||||||
["^l\.([0-9]+) ", "yellow"],
|
["^l\.([0-9]+) (.*)", "yellow,tex"],
|
||||||
|
["^\s+(.*)", "tex"],
|
||||||
["(Output written on) (.*) \(([0-9]+ pages), [0-9]+ bytes\).",
|
["(Output written on) (.*) \(([0-9]+ pages), [0-9]+ bytes\).",
|
||||||
"blue,white,blue", "normal,bold,normal"],
|
"blue,white,blue", "normal,bold,normal"],
|
||||||
["WARNING.*", "magenta", "normal"],
|
["WARNING.*", "magenta", "normal"],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue