Separate g++ log with blue section lines

Every time g++ use "in/at", it starts a new error/warning paragraph.
Coloring those lines in blue mades it easier to spot messages.
This commit is contained in:
Johann Dreo 2013-05-16 08:53:13 +02:00
commit 9f77a5b54d

View file

@ -8,6 +8,8 @@ def theme():
import gettext
import locale
section="blue"
# get g++ version
gv = os.popen("g++ -dumpversion").read().strip()
@ -41,9 +43,15 @@ def theme():
# Highlight message start:
# path file ext : line : col …
[ "(/.*?)/([^/:]+): (In .*)"+qo,
"green",
section,
"normal,normal,bold" ],
[ "(/.*?)/([^/:]+): (At .*)",
section,
"normal,normal,bold" ],
[ _("In file included from"), section ],
# Highlight locations:
# path file ext : line : col …
[ "(/.*?)/([^/:]+):([0-9]+):*([0-9]*)(.*)",