src/eric7/QScintilla/SpellCheckingDialog.py

branch
eric7
changeset 10431
64157aeb0312
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
diff -r e440aaf179ce -r 64157aeb0312 src/eric7/QScintilla/SpellCheckingDialog.py
--- a/src/eric7/QScintilla/SpellCheckingDialog.py	Wed Dec 20 19:28:22 2023 +0100
+++ b/src/eric7/QScintilla/SpellCheckingDialog.py	Thu Dec 21 12:03:40 2023 +0100
@@ -24,10 +24,14 @@
         """
         Constructor
 
-        @param spellChecker reference to the spell checker (SpellChecker)
-        @param startPos position to start spell checking (integer)
-        @param endPos end position for spell checking (integer)
-        @param parent reference to the parent widget (QWidget)
+        @param spellChecker reference to the spell checker
+        @type SpellChecker
+        @param startPos position to start spell checking
+        @type int
+        @param endPos end position for spell checking
+        @type int
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -43,7 +47,8 @@
         """
         Private method to set the buttons enabled state.
 
-        @param enable enable state (boolean)
+        @param enable enable state
+        @type bool
         """
         self.addButton.setEnabled(enable)
         self.ignoreButton.setEnabled(enable)
@@ -84,7 +89,8 @@
         """
         Private method to handle a change of the replacement text.
 
-        @param text contents of the line edit (string)
+        @param text contents of the line edit
+        @type str
         """
         self.replaceButton.setEnabled(text != "")
         self.replaceAllButton.setEnabled(text != "")
@@ -94,7 +100,8 @@
         """
         Private method to handle the selection of a suggestion.
 
-        @param currentText the currently selected text (string)
+        @param currentText the currently selected text
+        @type str
         """
         if currentText:
             self.changeEdit.setText(currentText)

eric ide

mercurial