Sat, 09 Feb 2013 11:31:54 +0100
Fixed an issue causing failures for files with Windows end-of-line indicators.
<!DOCTYPE html> <html><head> <title>Plugin_Refactoring_Rope.RefactoringRope.HistoryDialog</title> <meta charset="UTF-8"> <style> body { background: #EDECE6; margin: 0em 1em 10em 1em; color: black; } h1 { color: white; background: #85774A; } h2 { color: white; background: #85774A; } h3 { color: white; background: #9D936E; } h4 { color: white; background: #9D936E; } a { color: #BA6D36; } </style> </head> <body><a NAME="top" ID="top"></a> <h1>Plugin_Refactoring_Rope.RefactoringRope.HistoryDialog</h1> <p> Module implementing the History dialog. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#HistoryDialog">HistoryDialog</a></td> <td>Class implementing the History dialog.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="HistoryDialog" ID="HistoryDialog"></a> <h2>HistoryDialog</h2> <p> Class implementing the History dialog. </p> <h3>Derived from</h3> PreviewDialogBase <h3>Class Attributes</h3> <table> <tr><td>ChangeIDRole</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#HistoryDialog.__init__">HistoryDialog</a></td> <td>Constructor</td> </tr><tr> <td><a href="#HistoryDialog.accept">accept</a></td> <td>Public slot to undo the selected set of changes.</td> </tr><tr> <td><a href="#HistoryDialog.on_changesList_currentItemChanged">on_changesList_currentItemChanged</a></td> <td>Private slot called when a change is selected.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="HistoryDialog.__init__" ID="HistoryDialog.__init__"></a> <h4>HistoryDialog (Constructor)</h4> <b>HistoryDialog</b>(<i>refactoring, changes, isUndo, parent=None</i>) <p> Constructor </p><dl> <dt><i>refactoring</i></dt> <dd> reference to the main refactoring object (Refactoring) </dd><dt><i>changes</i></dt> <dd> list of ChangeSet objects (list of rope.base.change.ChangeSet) </dd><dt><i>isUndo</i></dt> <dd> flag indicating an undo history dialog (boolean) </dd><dt><i>parent</i></dt> <dd> reference to the parent widget (QWidget) </dd> </dl><a NAME="HistoryDialog.accept" ID="HistoryDialog.accept"></a> <h4>HistoryDialog.accept</h4> <b>accept</b>(<i></i>) <p> Public slot to undo the selected set of changes. </p><a NAME="HistoryDialog.on_changesList_currentItemChanged" ID="HistoryDialog.on_changesList_currentItemChanged"></a> <h4>HistoryDialog.on_changesList_currentItemChanged</h4> <b>on_changesList_currentItemChanged</b>(<i>current, previous</i>) <p> Private slot called when a change is selected. </p><dl> <dt><i>current</i></dt> <dd> reference to the new current item (QListWidgetItem) </dd><dt><i>previous</i></dt> <dd> reference to the old current item (QListWidgetItem) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>