eric7.CodeFormatting.FormattingDiffWidget
Module implementing a window to show a unified diff..
Global Attributes
Classes
Functions
FormattingDiffWidget
Class implementing a window to show a unified diff..
Derived from
QWidget, Ui_FormattingDiffWidget
Class Attributes
Class Methods
Methods
Static Methods
FormattingDiffWidget (Constructor)
FormattingDiffWidget(parent=None)
Constructor
- parent (QWidget (optional))
-
reference to the parent widget (defaults to None)
FormattingDiffWidget.closeEvent
closeEvent(_evt)
Protected slot implementing a close event handler.
- _evt (QCloseEvent)
-
reference to the close event (unused)
FormattingDiffWidget.showDiff
showDiff(diff)
Public method to show the given diff.
- diff (str)
-
text containing the unified diff