]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Add multi-line support to Vala.Report
authorLorenz Wildberg <lorenz@wild-fisch.de>
Sun, 19 Sep 2021 00:30:42 +0000 (01:30 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 8 Nov 2021 10:31:18 +0000 (11:31 +0100)
commit32366df9e1cfc73a9d521675a017a7db25f03a7c
tree430989feaecd668ff5161ea301002d442b03705e
parentf38fdde7e837251093a7dadab95dc576712a9fc7
vala: Add multi-line support to Vala.Report

To fix multi-line errors, the "^~~~"-underline appears now under all lines
and columns between the begin and end of the source reference.

Also a line number with a "|" at the left side is added for better finding
the source of the error. This helps also one-line errors.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/764
vala/valareport.vala