diff -r 3733e2b23cf7 -r a071d4065202 src/eric7/Preferences/ConfigurationPages/EditorFilePage.py --- a/src/eric7/Preferences/ConfigurationPages/EditorFilePage.py Wed Dec 20 11:06:38 2023 +0100 +++ b/src/eric7/Preferences/ConfigurationPages/EditorFilePage.py Wed Dec 20 14:58:58 2023 +0100 @@ -246,7 +246,8 @@ Private slot to set the default file filter combo boxes. @param keepSelection flag indicating to keep the current selection - if possible (boolean) + if possible + @type bool """ if keepSelection: selectedOpenFilter = self.openFilesFilterComboBox.currentText() @@ -291,8 +292,10 @@ """ Private method to check a file filter for validity. - @param fileFilter file filter pattern to check (string) - @return flag indicating validity (boolean) + @param fileFilter file filter pattern to check + @type str + @return flag indicating validity + @rtype bool """ if not self.__showsOpenFilters and fileFilter.count("*") != 1: EricMessageBox.critical( @@ -366,7 +369,8 @@ """ Private slot to switch the list of file filters. - @param checked flag indicating the check state of the button (boolean) + @param checked flag indicating the check state of the button + @type bool """ self.__extractFileFilters() self.__showsOpenFilters = checked @@ -381,8 +385,10 @@ """ Private slot to set the state of the edit and delete buttons. - @param current new current item (QListWidgetItem) - @param previous previous current item (QListWidgetItem) + @param current new current item + @type QListWidgetItem + @param previous previous current item + @type QListWidgetItem """ self.editFileFilterButton.setEnabled(current is not None) self.deleteFileFilterButton.setEnabled(current is not None) @@ -412,7 +418,9 @@ Module function to create the configuration page. @param dlg reference to the configuration dialog - @return reference to the instantiated page (ConfigurationPageBase) + @type ConfigurationDialog + @return reference to the instantiated page + @rtype ConfigurationPageBase """ page = EditorFilePage() return page