3 Commits

Author SHA1 Message Date
irwiss 1b6442023d Update formatter tool for color support 2023-11-11 18:49:58 +02:00
Alexey c011e9de12 Improve output for JSON errors (#66623)
* Colorize JSON errors

* Make formatter feed source filename to TextJsonIn

* Throw exception instead of dumping output to std::cerr

* Adjust math parser's caret appearance

* Set color in chkjson

* Adjust tests and formatters

* Add json error cursor check for unicode string

* Squelch global state lint for entry points

* Adjust stream offset so the buffer for utf8_width is pointing at a codepoint
2023-07-17 19:51:50 -05:00
Alexey 85a6ae02b2 JSON formatter html build (#66414) 2023-06-24 21:44:28 -04:00