eric7.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
EricGenericDiffHighlighter
Class Attributes
Class Methods
Methods
Static Methods
GitDiffHighlighter (Constructor)
GitDiffHighlighter(doc, whitespace=True)
Constructor
- doc (QTextDocument)
-
reference to the text document
- whitespace (bool)
-
flag indicating to highlight whitespace
at the end of a line
GitDiffHighlighter.generateRules
generateRules()
Public method to generate the rule set.