eric6/Documentation/Source/eric6.QScintilla.SpellCheckingDialog.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.QScintilla.SpellCheckingDialog</h1> 23 <h1>eric6.QScintilla.SpellCheckingDialog</h1>
24
23 <p> 25 <p>
24 Module implementing the spell checking dialog. 26 Module implementing the spell checking dialog.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#SpellCheckingDialog">SpellCheckingDialog</a></td> 38 <td><a href="#SpellCheckingDialog">SpellCheckingDialog</a></td>
34 <td>Class implementing the spell checking dialog.</td> 39 <td>Class implementing the spell checking dialog.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
38 <table> 43
39 <tr><td>None</td></tr> 44 <table>
40 </table> 45 <tr><td>None</td></tr>
41 <hr /><hr /> 46 </table>
47 <hr />
48 <hr />
42 <a NAME="SpellCheckingDialog" ID="SpellCheckingDialog"></a> 49 <a NAME="SpellCheckingDialog" ID="SpellCheckingDialog"></a>
43 <h2>SpellCheckingDialog</h2> 50 <h2>SpellCheckingDialog</h2>
51
44 <p> 52 <p>
45 Class implementing the spell checking dialog. 53 Class implementing the spell checking dialog.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_SpellCheckingDialog 56 QDialog, Ui_SpellCheckingDialog
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>None</td></tr> 60 <tr><td>None</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
58 <table> 68
69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#SpellCheckingDialog.__init__">SpellCheckingDialog</a></td> 72 <td><a href="#SpellCheckingDialog.__init__">SpellCheckingDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#SpellCheckingDialog.__advance">__advance</a></td> 76 <td><a href="#SpellCheckingDialog.__advance">__advance</a></td>
64 <td>Private method to advance to the next error.</td> 77 <td>Private method to advance to the next error.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#SpellCheckingDialog.__enableButtons">__enableButtons</a></td> 80 <td><a href="#SpellCheckingDialog.__enableButtons">__enableButtons</a></td>
67 <td>Private method to set the buttons enabled state.</td> 81 <td>Private method to set the buttons enabled state.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#SpellCheckingDialog.on_addButton_clicked">on_addButton_clicked</a></td> 84 <td><a href="#SpellCheckingDialog.on_addButton_clicked">on_addButton_clicked</a></td>
70 <td>Private slot to add the current word to the personal word list.</td> 85 <td>Private slot to add the current word to the personal word list.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#SpellCheckingDialog.on_changeEdit_textChanged">on_changeEdit_textChanged</a></td> 88 <td><a href="#SpellCheckingDialog.on_changeEdit_textChanged">on_changeEdit_textChanged</a></td>
73 <td>Private method to handle a change of the replacement text.</td> 89 <td>Private method to handle a change of the replacement text.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#SpellCheckingDialog.on_ignoreAllButton_clicked">on_ignoreAllButton_clicked</a></td> 92 <td><a href="#SpellCheckingDialog.on_ignoreAllButton_clicked">on_ignoreAllButton_clicked</a></td>
76 <td>Private slot to always ignore the found error.</td> 93 <td>Private slot to always ignore the found error.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#SpellCheckingDialog.on_ignoreButton_clicked">on_ignoreButton_clicked</a></td> 96 <td><a href="#SpellCheckingDialog.on_ignoreButton_clicked">on_ignoreButton_clicked</a></td>
79 <td>Private slot to ignore the found error.</td> 97 <td>Private slot to ignore the found error.</td>
80 </tr><tr> 98 </tr>
99 <tr>
81 <td><a href="#SpellCheckingDialog.on_replaceAllButton_clicked">on_replaceAllButton_clicked</a></td> 100 <td><a href="#SpellCheckingDialog.on_replaceAllButton_clicked">on_replaceAllButton_clicked</a></td>
82 <td>Private slot to replace the current word with the given replacement.</td> 101 <td>Private slot to replace the current word with the given replacement.</td>
83 </tr><tr> 102 </tr>
103 <tr>
84 <td><a href="#SpellCheckingDialog.on_replaceButton_clicked">on_replaceButton_clicked</a></td> 104 <td><a href="#SpellCheckingDialog.on_replaceButton_clicked">on_replaceButton_clicked</a></td>
85 <td>Private slot to replace the current word with the given replacement.</td> 105 <td>Private slot to replace the current word with the given replacement.</td>
86 </tr><tr> 106 </tr>
107 <tr>
87 <td><a href="#SpellCheckingDialog.on_suggestionsList_currentTextChanged">on_suggestionsList_currentTextChanged</a></td> 108 <td><a href="#SpellCheckingDialog.on_suggestionsList_currentTextChanged">on_suggestionsList_currentTextChanged</a></td>
88 <td>Private method to handle the selection of a suggestion.</td> 109 <td>Private method to handle the selection of a suggestion.</td>
89 </tr> 110 </tr>
90 </table> 111 </table>
91 <h3>Static Methods</h3> 112 <h3>Static Methods</h3>
92 <table> 113
93 <tr><td>None</td></tr> 114 <table>
94 </table> 115 <tr><td>None</td></tr>
116 </table>
117
95 <a NAME="SpellCheckingDialog.__init__" ID="SpellCheckingDialog.__init__"></a> 118 <a NAME="SpellCheckingDialog.__init__" ID="SpellCheckingDialog.__init__"></a>
96 <h4>SpellCheckingDialog (Constructor)</h4> 119 <h4>SpellCheckingDialog (Constructor)</h4>
97 <b>SpellCheckingDialog</b>(<i>spellChecker, startPos, endPos, parent=None</i>) 120 <b>SpellCheckingDialog</b>(<i>spellChecker, startPos, endPos, parent=None</i>)
121
98 <p> 122 <p>
99 Constructor 123 Constructor
100 </p><dl> 124 </p>
125 <dl>
126
101 <dt><i>spellChecker</i></dt> 127 <dt><i>spellChecker</i></dt>
102 <dd> 128 <dd>
103 reference to the spell checker (SpellChecker) 129 reference to the spell checker (SpellChecker)
104 </dd><dt><i>startPos</i></dt> 130 </dd>
131 <dt><i>startPos</i></dt>
105 <dd> 132 <dd>
106 position to start spell checking (integer) 133 position to start spell checking (integer)
107 </dd><dt><i>endPos</i></dt> 134 </dd>
135 <dt><i>endPos</i></dt>
108 <dd> 136 <dd>
109 end position for spell checking (integer) 137 end position for spell checking (integer)
110 </dd><dt><i>parent</i></dt> 138 </dd>
139 <dt><i>parent</i></dt>
111 <dd> 140 <dd>
112 reference to the parent widget (QWidget) 141 reference to the parent widget (QWidget)
113 </dd> 142 </dd>
114 </dl><a NAME="SpellCheckingDialog.__advance" ID="SpellCheckingDialog.__advance"></a> 143 </dl>
144 <a NAME="SpellCheckingDialog.__advance" ID="SpellCheckingDialog.__advance"></a>
115 <h4>SpellCheckingDialog.__advance</h4> 145 <h4>SpellCheckingDialog.__advance</h4>
116 <b>__advance</b>(<i></i>) 146 <b>__advance</b>(<i></i>)
147
117 <p> 148 <p>
118 Private method to advance to the next error. 149 Private method to advance to the next error.
119 </p><a NAME="SpellCheckingDialog.__enableButtons" ID="SpellCheckingDialog.__enableButtons"></a> 150 </p>
151 <a NAME="SpellCheckingDialog.__enableButtons" ID="SpellCheckingDialog.__enableButtons"></a>
120 <h4>SpellCheckingDialog.__enableButtons</h4> 152 <h4>SpellCheckingDialog.__enableButtons</h4>
121 <b>__enableButtons</b>(<i>enable</i>) 153 <b>__enableButtons</b>(<i>enable</i>)
154
122 <p> 155 <p>
123 Private method to set the buttons enabled state. 156 Private method to set the buttons enabled state.
124 </p><dl> 157 </p>
158 <dl>
159
125 <dt><i>enable</i></dt> 160 <dt><i>enable</i></dt>
126 <dd> 161 <dd>
127 enable state (boolean) 162 enable state (boolean)
128 </dd> 163 </dd>
129 </dl><a NAME="SpellCheckingDialog.on_addButton_clicked" ID="SpellCheckingDialog.on_addButton_clicked"></a> 164 </dl>
165 <a NAME="SpellCheckingDialog.on_addButton_clicked" ID="SpellCheckingDialog.on_addButton_clicked"></a>
130 <h4>SpellCheckingDialog.on_addButton_clicked</h4> 166 <h4>SpellCheckingDialog.on_addButton_clicked</h4>
131 <b>on_addButton_clicked</b>(<i></i>) 167 <b>on_addButton_clicked</b>(<i></i>)
168
132 <p> 169 <p>
133 Private slot to add the current word to the personal word list. 170 Private slot to add the current word to the personal word list.
134 </p><a NAME="SpellCheckingDialog.on_changeEdit_textChanged" ID="SpellCheckingDialog.on_changeEdit_textChanged"></a> 171 </p>
172 <a NAME="SpellCheckingDialog.on_changeEdit_textChanged" ID="SpellCheckingDialog.on_changeEdit_textChanged"></a>
135 <h4>SpellCheckingDialog.on_changeEdit_textChanged</h4> 173 <h4>SpellCheckingDialog.on_changeEdit_textChanged</h4>
136 <b>on_changeEdit_textChanged</b>(<i>text</i>) 174 <b>on_changeEdit_textChanged</b>(<i>text</i>)
175
137 <p> 176 <p>
138 Private method to handle a change of the replacement text. 177 Private method to handle a change of the replacement text.
139 </p><dl> 178 </p>
179 <dl>
180
140 <dt><i>text</i></dt> 181 <dt><i>text</i></dt>
141 <dd> 182 <dd>
142 contents of the line edit (string) 183 contents of the line edit (string)
143 </dd> 184 </dd>
144 </dl><a NAME="SpellCheckingDialog.on_ignoreAllButton_clicked" ID="SpellCheckingDialog.on_ignoreAllButton_clicked"></a> 185 </dl>
186 <a NAME="SpellCheckingDialog.on_ignoreAllButton_clicked" ID="SpellCheckingDialog.on_ignoreAllButton_clicked"></a>
145 <h4>SpellCheckingDialog.on_ignoreAllButton_clicked</h4> 187 <h4>SpellCheckingDialog.on_ignoreAllButton_clicked</h4>
146 <b>on_ignoreAllButton_clicked</b>(<i></i>) 188 <b>on_ignoreAllButton_clicked</b>(<i></i>)
189
147 <p> 190 <p>
148 Private slot to always ignore the found error. 191 Private slot to always ignore the found error.
149 </p><a NAME="SpellCheckingDialog.on_ignoreButton_clicked" ID="SpellCheckingDialog.on_ignoreButton_clicked"></a> 192 </p>
193 <a NAME="SpellCheckingDialog.on_ignoreButton_clicked" ID="SpellCheckingDialog.on_ignoreButton_clicked"></a>
150 <h4>SpellCheckingDialog.on_ignoreButton_clicked</h4> 194 <h4>SpellCheckingDialog.on_ignoreButton_clicked</h4>
151 <b>on_ignoreButton_clicked</b>(<i></i>) 195 <b>on_ignoreButton_clicked</b>(<i></i>)
196
152 <p> 197 <p>
153 Private slot to ignore the found error. 198 Private slot to ignore the found error.
154 </p><a NAME="SpellCheckingDialog.on_replaceAllButton_clicked" ID="SpellCheckingDialog.on_replaceAllButton_clicked"></a> 199 </p>
200 <a NAME="SpellCheckingDialog.on_replaceAllButton_clicked" ID="SpellCheckingDialog.on_replaceAllButton_clicked"></a>
155 <h4>SpellCheckingDialog.on_replaceAllButton_clicked</h4> 201 <h4>SpellCheckingDialog.on_replaceAllButton_clicked</h4>
156 <b>on_replaceAllButton_clicked</b>(<i></i>) 202 <b>on_replaceAllButton_clicked</b>(<i></i>)
203
157 <p> 204 <p>
158 Private slot to replace the current word with the given replacement. 205 Private slot to replace the current word with the given replacement.
159 </p><a NAME="SpellCheckingDialog.on_replaceButton_clicked" ID="SpellCheckingDialog.on_replaceButton_clicked"></a> 206 </p>
207 <a NAME="SpellCheckingDialog.on_replaceButton_clicked" ID="SpellCheckingDialog.on_replaceButton_clicked"></a>
160 <h4>SpellCheckingDialog.on_replaceButton_clicked</h4> 208 <h4>SpellCheckingDialog.on_replaceButton_clicked</h4>
161 <b>on_replaceButton_clicked</b>(<i></i>) 209 <b>on_replaceButton_clicked</b>(<i></i>)
210
162 <p> 211 <p>
163 Private slot to replace the current word with the given replacement. 212 Private slot to replace the current word with the given replacement.
164 </p><a NAME="SpellCheckingDialog.on_suggestionsList_currentTextChanged" ID="SpellCheckingDialog.on_suggestionsList_currentTextChanged"></a> 213 </p>
214 <a NAME="SpellCheckingDialog.on_suggestionsList_currentTextChanged" ID="SpellCheckingDialog.on_suggestionsList_currentTextChanged"></a>
165 <h4>SpellCheckingDialog.on_suggestionsList_currentTextChanged</h4> 215 <h4>SpellCheckingDialog.on_suggestionsList_currentTextChanged</h4>
166 <b>on_suggestionsList_currentTextChanged</b>(<i>currentText</i>) 216 <b>on_suggestionsList_currentTextChanged</b>(<i>currentText</i>)
217
167 <p> 218 <p>
168 Private method to handle the selection of a suggestion. 219 Private method to handle the selection of a suggestion.
169 </p><dl> 220 </p>
221 <dl>
222
170 <dt><i>currentText</i></dt> 223 <dt><i>currentText</i></dt>
171 <dd> 224 <dd>
172 the currently selected text (string) 225 the currently selected text (string)
173 </dd> 226 </dd>
174 </dl> 227 </dl>

eric ide

mercurial