src/eric7/QScintilla/TypingCompleters/CompleterBase.py

branch
eric7
changeset 10431
64157aeb0312
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
diff -r e440aaf179ce -r 64157aeb0312 src/eric7/QScintilla/TypingCompleters/CompleterBase.py
--- a/src/eric7/QScintilla/TypingCompleters/CompleterBase.py	Wed Dec 20 19:28:22 2023 +0100
+++ b/src/eric7/QScintilla/TypingCompleters/CompleterBase.py	Thu Dec 21 12:03:40 2023 +0100
@@ -23,9 +23,11 @@
         """
         Constructor
 
-        @param editor reference to the editor object (QScintilla.Editor)
-        @param parent reference to the parent object (QObject)
-            If parent is None, we set the editor as the parent.
+        @param editor reference to the editor object
+        @type QScintilla.Editor
+        @param parent reference to the parent object. If parent is None, we set
+            the editor as the parent.
+        @type QObject
         """
         if parent is None:
             parent = editor
@@ -39,7 +41,8 @@
         """
         Public slot to set the enabled state.
 
-        @param enable flag indicating the new enabled state (boolean)
+        @param enable flag indicating the new enabled state
+        @type bool
         """
         if enable:
             if not self.enabled:
@@ -53,7 +56,8 @@
         """
         Public method to get the enabled state.
 
-        @return enabled state (boolean)
+        @return enabled state
+        @rtype bool
         """
         return self.enabled
 
@@ -67,7 +71,8 @@
         Note 2: charNumber can be greater than 255 because the editor is
         in UTF-8 mode by default.
 
-        @param charNumber value of the character entered (integer)
+        @param charNumber value of the character entered
+        @type int
         """
         pass  # just do nothing
 

eric ide

mercurial