friendly-traceback / friendly

Friendly-traceback's version used in most situations
https://friendly-traceback.github.io/docs/index.html
MIT License
40 stars 5 forks source link

Replace ^ by highlighting the position of the error #21

Closed aroberge closed 2 years ago

aroberge commented 2 years ago

If possible, replace ^ indicating the position of an error by highlighting with a different background colour. This is currently done for friendly.idle but there should be a way to do it as well for Rich-based environment, probably by switching between pygment-based formatting and regular rich markup.

aroberge commented 2 years ago

This has already been done. What remains is to make it possible for a user to either change the default colours used or to turn it off entirely.