diff options
| author | Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com> | 2021-07-06 22:20:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-06 22:20:03 +0200 |
| commit | 2cb532d83dbcd022af413a299679e3018af8b98a (patch) | |
| tree | 795cf31e03a4c5194e9de968a4780b1200a56b92 /scripts | |
| parent | f0ff1bad7122f2604c54401b7ef1547bbeb4260f (diff) | |
| download | pygments-git-2cb532d83dbcd022af413a299679e3018af8b98a.tar.gz | |
Support error locations in Python tracebacks (#1852)
Support both single carets for syntax errors (Python 2 and 3)
and fine-grained error locations with several carets (Python 3.11+).
Previously, the carets were highlighted as operators. This uses
a new token, Token.Punctuation.Marker. For now, no style supports
it specifically. In the future, styles might start differentiating
it from Token.Punctuation.
[Closes #1850.]
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
