21 |
21 |
22 def __init__(self, editor, parent=None): |
22 def __init__(self, editor, parent=None): |
23 """ |
23 """ |
24 Constructor |
24 Constructor |
25 |
25 |
26 @param editor reference to the editor object (QScintilla.Editor) |
26 @param editor reference to the editor object |
27 @param parent reference to the parent object (QObject) |
27 @type QScintilla.Editor |
28 If parent is None, we set the editor as the parent. |
28 @param parent reference to the parent object. If parent is None, we set |
|
29 the editor as the parent. |
|
30 @type QObject |
29 """ |
31 """ |
30 if parent is None: |
32 if parent is None: |
31 parent = editor |
33 parent = editor |
32 |
34 |
33 super().__init__(parent) |
35 super().__init__(parent) |
65 specific behavior for the language. |
69 specific behavior for the language. |
66 |
70 |
67 Note 2: charNumber can be greater than 255 because the editor is |
71 Note 2: charNumber can be greater than 255 because the editor is |
68 in UTF-8 mode by default. |
72 in UTF-8 mode by default. |
69 |
73 |
70 @param charNumber value of the character entered (integer) |
74 @param charNumber value of the character entered |
|
75 @type int |
71 """ |
76 """ |
72 pass # just do nothing |
77 pass # just do nothing |
73 |
78 |
74 def readSettings(self): |
79 def readSettings(self): |
75 """ |
80 """ |