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:
parent
3354a49395
commit
9f77a5b54d
1 changed files with 9 additions and 1 deletions
|
|
@ -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]*)(.*)",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue