src/eric7/QScintilla/Exporters/ExporterRTF.py

branch
eric7
changeset 10431
64157aeb0312
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
--- a/src/eric7/QScintilla/Exporters/ExporterRTF.py	Wed Dec 20 19:28:22 2023 +0100
+++ b/src/eric7/QScintilla/Exporters/ExporterRTF.py	Thu Dec 21 12:03:40 2023 +0100
@@ -61,8 +61,10 @@
         """
         Constructor
 
-        @param editor reference to the editor object (QScintilla.Editor.Editor)
-        @param parent parent object of the exporter (QObject)
+        @param editor reference to the editor object
+        @type QScintilla.Editor.Editor
+        @param parent parent object of the exporter
+        @type QObject
         """
         ExporterBase.__init__(self, editor, parent)
 
@@ -70,10 +72,12 @@
         """
         Private method to extract the next RTF control word from style.
 
-        @param pos position to start search (integer)
-        @param style style definition to search in (string)
+        @param pos position to start search
+        @type int
+        @param style style definition to search in
+        @type str
         @return tuple of new start position and control word found
-            (integer, string)
+        @rtype tuple of (int, str)
         """
         # \f0\fs20\cf0\highlight0\b0\i0
         if pos >= len(style):
@@ -90,9 +94,12 @@
         Private method to extract control words that are different between two
         styles.
 
-        @param last least recently used style (string)
-        @param current current style (string)
-        @return string containing the delta between these styles (string)
+        @param last least recently used style
+        @type str
+        @param current current style
+        @type str
+        @return string containing the delta between these styles
+        @rtype str
         """
         # \f0\fs20\cf0\highlight0\b0\i0
         lastPos = 0

eric ide

mercurial