eric7.CodeFormatting.FormattingDiffWidget

Module implementing a window to show a unified diff..

Global Attributes

None

Classes

FormattingDiffWidget Class implementing a window to show a unified diff..

Functions

None


FormattingDiffWidget

Class implementing a window to show a unified diff..

Derived from

QWidget, Ui_FormattingDiffWidget

Class Attributes

None

Class Methods

None

Methods

FormattingDiffWidget Constructor
closeEvent Protected slot implementing a close event handler.
showDiff Public method to show the given diff.

Static Methods

None

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
Up