Print a Unicode arrow when TextRange is empty in diagnostics
This commit is contained in:
parent
cc24825ef1
commit
39d576c799
1 changed files with 6 additions and 2 deletions
|
@ -325,8 +325,12 @@ namespace bolt {
|
|||
Out << ' ';
|
||||
}
|
||||
setForegroundColor(HighlightColor);
|
||||
for (std::size_t i = start_column; i < end_column; i++) {
|
||||
Out << '~';
|
||||
if (start_column == end_column) {
|
||||
Out << "↖";
|
||||
} else {
|
||||
for (std::size_t i = start_column; i < end_column; i++) {
|
||||
Out << '~';
|
||||
}
|
||||
}
|
||||
resetStyles();
|
||||
Out << '\n';
|
||||
|
|
Loading…
Reference in a new issue