Wed, 23 Apr 2014 18:21:11 +0200
Fixed a bug and added some missing source docu strings.
--- a/ChangeLog Wed Apr 23 18:18:24 2014 +0200 +++ b/ChangeLog Wed Apr 23 18:21:11 2014 +0200 @@ -1,5 +1,8 @@ ChangeLog --------- +Version 0.3.0: +- bug fixes + Version 0.2.0: - added capability to insert a separator - added Spanish translations
--- a/PluginSelectionEncloser.py Wed Apr 23 18:18:24 2014 +0200 +++ b/PluginSelectionEncloser.py Wed Apr 23 18:21:11 2014 +0200 @@ -24,7 +24,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "0.2.0" +version = "0.3.0" className = "SelectionEncloserPlugin" packageName = "SelectionEncloser" shortDescription = "Enclose the selection with a string."
--- a/SelectionEncloser.e4p Wed Apr 23 18:18:24 2014 +0200 +++ b/SelectionEncloser.e4p Wed Apr 23 18:21:11 2014 +0200 @@ -233,4 +233,83 @@ </dict> </DocumentationParams> </Documentation> + <Checkers> + <CheckersParams> + <dict> + <key> + <string>Pep8Checker</string> + </key> + <value> + <dict> + <key> + <string>DocstringType</string> + </key> + <value> + <string>eric</string> + </value> + <key> + <string>ExcludeFiles</string> + </key> + <value> + <string>*/Ui_*.py</string> + </value> + <key> + <string>ExcludeMessages</string> + </key> + <value> + <string>W293, N802, N803, N807, N808, N821</string> + </value> + <key> + <string>FixCodes</string> + </key> + <value> + <string></string> + </value> + <key> + <string>FixIssues</string> + </key> + <value> + <bool>False</bool> + </value> + <key> + <string>HangClosing</string> + </key> + <value> + <bool>False</bool> + </value> + <key> + <string>IncludeMessages</string> + </key> + <value> + <string></string> + </value> + <key> + <string>MaxLineLength</string> + </key> + <value> + <int>79</int> + </value> + <key> + <string>NoFixCodes</string> + </key> + <value> + <string>E501</string> + </value> + <key> + <string>RepeatMessages</string> + </key> + <value> + <bool>True</bool> + </value> + <key> + <string>ShowIgnored</string> + </key> + <value> + <bool>False</bool> + </value> + </dict> + </value> + </dict> + </CheckersParams> + </Checkers> </Project>
--- a/SelectionEncloser/ConfigurationPage/SelectionEncloserPage.py Wed Apr 23 18:18:24 2014 +0200 +++ b/SelectionEncloser/ConfigurationPage/SelectionEncloserPage.py Wed Apr 23 18:21:11 2014 +0200 @@ -163,6 +163,8 @@ def __moveSelectedEntry(self, moveUp): """ Private method to move the selected entry up or down. + + @param moveUp flag indicating to move the entry up (boolean) """ itm = self.menuTree.selectedItems()[0] parent = itm.parent() @@ -186,7 +188,7 @@ @pyqtSlot() def on_editButton_clicked(self): """ - Slot documentation goes here. + Private slot to edit the selected entry. """ itm = self.menuTree.selectedItems()[0] parent = itm.parent() @@ -247,4 +249,4 @@ self.deleteButton.setEnabled(True) self.upButton.setEnabled(upEnable) self.downButton.setEnabled(downEnable) - self.editButton.setEnabled(True) + self.editButton.setEnabled(itm.text(0) != self.tr("--Separator--"))
--- a/SelectionEncloser/Documentation/source/Plugin_Tools_Selection_Encloser.SelectionEncloser.ConfigurationPage.SelectionEncloserPage.html Wed Apr 23 18:18:24 2014 +0200 +++ b/SelectionEncloser/Documentation/source/Plugin_Tools_Selection_Encloser.SelectionEncloser.ConfigurationPage.SelectionEncloserPage.html Wed Apr 23 18:21:11 2014 +0200 @@ -79,7 +79,7 @@ <td>Private slot to move an entry down.</td> </tr><tr> <td><a href="#SelectionEncloserPage.on_editButton_clicked">on_editButton_clicked</a></td> -<td>Slot documentation goes here.</td> +<td>Private slot to edit the selected entry.</td> </tr><tr> <td><a href="#SelectionEncloserPage.on_menuTree_itemSelectionChanged">on_menuTree_itemSelectionChanged</a></td> <td>Private slot handling the selection of an item.</td> @@ -110,7 +110,12 @@ <b>__moveSelectedEntry</b>(<i>moveUp</i>) <p> Private method to move the selected entry up or down. -</p><a NAME="SelectionEncloserPage.on_addButton_clicked" ID="SelectionEncloserPage.on_addButton_clicked"></a> +</p><dl> +<dt><i>moveUp</i></dt> +<dd> +flag indicating to move the entry up (boolean) +</dd> +</dl><a NAME="SelectionEncloserPage.on_addButton_clicked" ID="SelectionEncloserPage.on_addButton_clicked"></a> <h4>SelectionEncloserPage.on_addButton_clicked</h4> <b>on_addButton_clicked</b>(<i></i>) <p> @@ -139,7 +144,7 @@ <h4>SelectionEncloserPage.on_editButton_clicked</h4> <b>on_editButton_clicked</b>(<i></i>) <p> - Slot documentation goes here. + Private slot to edit the selected entry. </p><a NAME="SelectionEncloserPage.on_menuTree_itemSelectionChanged" ID="SelectionEncloserPage.on_menuTree_itemSelectionChanged"></a> <h4>SelectionEncloserPage.on_menuTree_itemSelectionChanged</h4> <b>on_menuTree_itemSelectionChanged</b>(<i></i>)