New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update pygments monkeypatch for compatibility with Pygments 2.0 #6878
Conversation
I think there's no way out of this one because one of the limitations of the Pygments So +1 from me. |
I think pygments can handle more than one line, the tricky bit here is that the Qt console is only giving us one line at a time. I was looking into whether we could highlight the block as a whole, and concluded that there wasn't an easy way to achieve it. It's also annoying that Pygments has an |
Ups, sorry. Then the problem is with |
Update pygments monkeypatch for compatibility with Pygments 2.0
… Pygments 2.0 Closes gh-6877 I spent a while looking for a better way to achive this, to get rid of the monkeypatch, but none occurred to me, so I went with Carlos' suggestion of just updating it.
Changes same as done in ipython project ipython/ipython#6878 (IPython's highlighter is same as this)
Changes same as done in ipython project ipython/ipython#6878 (IPython's highlighter is same as this)
Closes gh-6877
I spent a while looking for a better way to achive this, to get rid of the monkeypatch, but none occurred to me, so I went with Carlos' suggestion of just updating it.