src/eric7/Plugins/VcsPlugins/vcsGit/GitDiffHighlighter.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10437:2f70ca07f0af 10438:4cd7e5a8b3cf
22 22
23 def __init__(self, doc, whitespace=True): 23 def __init__(self, doc, whitespace=True):
24 """ 24 """
25 Constructor 25 Constructor
26 26
27 @param doc reference to the text document (QTextDocument) 27 @param doc reference to the text document
28 @type QTextDocument
28 @param whitespace flag indicating to highlight whitespace 29 @param whitespace flag indicating to highlight whitespace
29 at the end of a line (boolean) 30 at the end of a line
31 @type bool
30 """ 32 """
31 self.whitespace = whitespace 33 self.whitespace = whitespace
32 34
33 super().__init__(doc) 35 super().__init__(doc)
34 36

eric ide

mercurial