eric6.Plugins.VcsPlugins.vcsGit.GitDiffHighlighter
Module implementing a syntax highlighter for diff outputs.
Global Attributes
Classes
Functions
GitDiffHighlighter
Class implementing a diff highlighter for Git.
Derived from
E5GenericDiffHighlighter
Class Attributes
Class Methods
Methods
Static Methods
GitDiffHighlighter (Constructor)
GitDiffHighlighter(doc, whitespace=True)
Constructor
- doc
-
reference to the text document (QTextDocument)
- whitespace
-
flag indicating to highlight whitespace
at the end of a line (boolean)
GitDiffHighlighter.generateRules
generateRules()
Public method to generate the rule set.