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.
If possible, replace
^
indicating the position of an error by highlighting with a different background colour. This is currently done forfriendly.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.