Qt code editor monkey patch interferes with ipython highlighting
Open
ETS Backlog
- Dominant language
- Python
- Stars
- 115
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
Importing pyface into an IPython shell causes syntax highlighting to become whacky:

From a bit of sleuthing I've narrowed it down to a monkey patch to the `RegexLexer` from `pygments` in the qt4 code editor:
https://github.com/enthought/pyface/blob/b2cb6f5aaa47a663316ca232ccc5fbe87a595a7d/pyface/ui/qt4/code_editor/pygments_highlighter.py#L83-L84
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.