QSyntaxHighlighter

class PyQt5.QtGui.QSyntaxHighlighter

C++ documentation