src/eric7/Documentation/Source/eric7.EricWidgets.EricSpellCheckedTextEdit.html

branch
eric7
changeset 10479
856476537696
parent 10478
de9106c55c3d
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.EricWidgets.EricSpellCheckedTextEdit</h1> 9 <h1>eric7.EricWidgets.EricSpellCheckedTextEdit</h1>
10
11 <p> 10 <p>
12 Module implementing QTextEdit and QPlainTextEdit widgets with embedded spell 11 Module implementing QTextEdit and QPlainTextEdit widgets with embedded spell
13 checking. 12 checking.
14 </p> 13 </p>
14
15 <h3>Global Attributes</h3> 15 <h3>Global Attributes</h3>
16 16 <table>
17 <table> 17 <tr><td>ENCHANT_AVAILABLE</td></tr>
18 <tr><td>ENCHANT_AVAILABLE</td></tr><tr><td>app</td></tr><tr><td>dictPath</td></tr><tr><td>spellEdit</td></tr> 18 <tr><td>app</td></tr>
19 </table> 19 <tr><td>dictPath</td></tr>
20 <tr><td>spellEdit</td></tr>
21 </table>
22
20 <h3>Classes</h3> 23 <h3>Classes</h3>
21 24 <table>
22 <table>
23
24 <tr> 25 <tr>
25 <td><a href="#EnchantHighlighter">EnchantHighlighter</a></td> 26 <td><a href="#EnchantHighlighter">EnchantHighlighter</a></td>
26 <td>Class implementing a QSyntaxHighlighter subclass that consults a pyEnchant dictionary to highlight misspelled words.</td> 27 <td>Class implementing a QSyntaxHighlighter subclass that consults a pyEnchant dictionary to highlight misspelled words.</td>
27 </tr> 28 </tr>
28 <tr> 29 <tr>
40 <tr> 41 <tr>
41 <td><a href="#SpellCheckMixin_1">SpellCheckMixin</a></td> 42 <td><a href="#SpellCheckMixin_1">SpellCheckMixin</a></td>
42 <td>Class implementing the spell-check mixin for the widget classes.</td> 43 <td>Class implementing the spell-check mixin for the widget classes.</td>
43 </tr> 44 </tr>
44 </table> 45 </table>
46
45 <h3>Functions</h3> 47 <h3>Functions</h3>
46 48 <table>
47 <table> 49 <tr><td>None</td></tr>
48 <tr><td>None</td></tr> 50 </table>
49 </table> 51
50 <hr /> 52 <hr />
51 <hr /> 53 <hr />
52 <a NAME="EnchantHighlighter" ID="EnchantHighlighter"></a> 54 <a NAME="EnchantHighlighter" ID="EnchantHighlighter"></a>
53 <h2>EnchantHighlighter</h2> 55 <h2>EnchantHighlighter</h2>
54
55 <p> 56 <p>
56 Class implementing a QSyntaxHighlighter subclass that consults a 57 Class implementing a QSyntaxHighlighter subclass that consults a
57 pyEnchant dictionary to highlight misspelled words. 58 pyEnchant dictionary to highlight misspelled words.
58 </p> 59 </p>
60
59 <h3>Derived from</h3> 61 <h3>Derived from</h3>
60 QSyntaxHighlighter 62 QSyntaxHighlighter
61 <h3>Class Attributes</h3> 63 <h3>Class Attributes</h3>
62 64 <table>
63 <table> 65 <tr><td>ErrorFormat</td></tr>
64 <tr><td>ErrorFormat</td></tr><tr><td>TokenFilters</td></tr> 66 <tr><td>TokenFilters</td></tr>
65 </table> 67 </table>
68
66 <h3>Class Methods</h3> 69 <h3>Class Methods</h3>
67 70 <table>
68 <table> 71 <tr><td>None</td></tr>
69 <tr><td>None</td></tr> 72 </table>
70 </table> 73
71 <h3>Methods</h3> 74 <h3>Methods</h3>
72 75 <table>
73 <table>
74
75 <tr> 76 <tr>
76 <td><a href="#EnchantHighlighter.__init__">EnchantHighlighter</a></td> 77 <td><a href="#EnchantHighlighter.__init__">EnchantHighlighter</a></td>
77 <td>Constructor</td> 78 <td>Constructor</td>
78 </tr> 79 </tr>
79 <tr> 80 <tr>
95 <tr> 96 <tr>
96 <td><a href="#EnchantHighlighter.setDict">setDict</a></td> 97 <td><a href="#EnchantHighlighter.setDict">setDict</a></td>
97 <td>Public method to set the spelling dictionary to be used.</td> 98 <td>Public method to set the spelling dictionary to be used.</td>
98 </tr> 99 </tr>
99 </table> 100 </table>
101
100 <h3>Static Methods</h3> 102 <h3>Static Methods</h3>
101 103 <table>
102 <table> 104 <tr><td>None</td></tr>
103 <tr><td>None</td></tr> 105 </table>
104 </table> 106
105 107
106 <a NAME="EnchantHighlighter.__init__" ID="EnchantHighlighter.__init__"></a> 108 <a NAME="EnchantHighlighter.__init__" ID="EnchantHighlighter.__init__"></a>
107 <h4>EnchantHighlighter (Constructor)</h4> 109 <h4>EnchantHighlighter (Constructor)</h4>
108 <b>EnchantHighlighter</b>(<i>*args, **kwargs</i>) 110 <b>EnchantHighlighter</b>(<i>*args, **kwargs</i>)
109
110 <p> 111 <p>
111 Constructor 112 Constructor
112 </p> 113 </p>
114
113 <dl> 115 <dl>
114 116
115 <dt><i>*args</i> (list)</dt> 117 <dt><i>*args</i> (list)</dt>
116 <dd> 118 <dd>
117 list of arguments for the QSyntaxHighlighter 119 list of arguments for the QSyntaxHighlighter
123 </dd> 125 </dd>
124 </dl> 126 </dl>
125 <a NAME="EnchantHighlighter.chunkers" ID="EnchantHighlighter.chunkers"></a> 127 <a NAME="EnchantHighlighter.chunkers" ID="EnchantHighlighter.chunkers"></a>
126 <h4>EnchantHighlighter.chunkers</h4> 128 <h4>EnchantHighlighter.chunkers</h4>
127 <b>chunkers</b>(<i></i>) 129 <b>chunkers</b>(<i></i>)
128
129 <p> 130 <p>
130 Public method to get the chunkers in use. 131 Public method to get the chunkers in use.
131 </p> 132 </p>
133
132 <dl> 134 <dl>
133 <dt>Return:</dt> 135 <dt>Return:</dt>
134 <dd> 136 <dd>
135 list of chunkers in use 137 list of chunkers in use
136 </dd> 138 </dd>
142 </dd> 144 </dd>
143 </dl> 145 </dl>
144 <a NAME="EnchantHighlighter.dict" ID="EnchantHighlighter.dict"></a> 146 <a NAME="EnchantHighlighter.dict" ID="EnchantHighlighter.dict"></a>
145 <h4>EnchantHighlighter.dict</h4> 147 <h4>EnchantHighlighter.dict</h4>
146 <b>dict</b>(<i></i>) 148 <b>dict</b>(<i></i>)
147
148 <p> 149 <p>
149 Public method to get the spelling dictionary in use. 150 Public method to get the spelling dictionary in use.
150 </p> 151 </p>
152
151 <dl> 153 <dl>
152 <dt>Return:</dt> 154 <dt>Return:</dt>
153 <dd> 155 <dd>
154 spelling dictionary 156 spelling dictionary
155 </dd> 157 </dd>
161 </dd> 163 </dd>
162 </dl> 164 </dl>
163 <a NAME="EnchantHighlighter.highlightBlock" ID="EnchantHighlighter.highlightBlock"></a> 165 <a NAME="EnchantHighlighter.highlightBlock" ID="EnchantHighlighter.highlightBlock"></a>
164 <h4>EnchantHighlighter.highlightBlock</h4> 166 <h4>EnchantHighlighter.highlightBlock</h4>
165 <b>highlightBlock</b>(<i>text</i>) 167 <b>highlightBlock</b>(<i>text</i>)
166
167 <p> 168 <p>
168 Public method to apply the text highlight. 169 Public method to apply the text highlight.
169 </p> 170 </p>
171
170 <dl> 172 <dl>
171 173
172 <dt><i>text</i> (str)</dt> 174 <dt><i>text</i> (str)</dt>
173 <dd> 175 <dd>
174 text to be spell-checked 176 text to be spell-checked
175 </dd> 177 </dd>
176 </dl> 178 </dl>
177 <a NAME="EnchantHighlighter.setChunkers" ID="EnchantHighlighter.setChunkers"></a> 179 <a NAME="EnchantHighlighter.setChunkers" ID="EnchantHighlighter.setChunkers"></a>
178 <h4>EnchantHighlighter.setChunkers</h4> 180 <h4>EnchantHighlighter.setChunkers</h4>
179 <b>setChunkers</b>(<i>chunkers</i>) 181 <b>setChunkers</b>(<i>chunkers</i>)
180
181 <p> 182 <p>
182 Public method to set the chunkers to be used. 183 Public method to set the chunkers to be used.
183 </p> 184 </p>
185
184 <dl> 186 <dl>
185 187
186 <dt><i>chunkers</i> (list)</dt> 188 <dt><i>chunkers</i> (list)</dt>
187 <dd> 189 <dd>
188 chunkers to be used 190 chunkers to be used
189 </dd> 191 </dd>
190 </dl> 192 </dl>
191 <a NAME="EnchantHighlighter.setDict" ID="EnchantHighlighter.setDict"></a> 193 <a NAME="EnchantHighlighter.setDict" ID="EnchantHighlighter.setDict"></a>
192 <h4>EnchantHighlighter.setDict</h4> 194 <h4>EnchantHighlighter.setDict</h4>
193 <b>setDict</b>(<i>spellDict</i>) 195 <b>setDict</b>(<i>spellDict</i>)
194
195 <p> 196 <p>
196 Public method to set the spelling dictionary to be used. 197 Public method to set the spelling dictionary to be used.
197 </p> 198 </p>
199
198 <dl> 200 <dl>
199 201
200 <dt><i>spellDict</i> (enchant.Dict)</dt> 202 <dt><i>spellDict</i> (enchant.Dict)</dt>
201 <dd> 203 <dd>
202 spelling dictionary 204 spelling dictionary
205 <div align="right"><a href="#top">Up</a></div> 207 <div align="right"><a href="#top">Up</a></div>
206 <hr /> 208 <hr />
207 <hr /> 209 <hr />
208 <a NAME="EricSpellCheckedPlainTextEdit" ID="EricSpellCheckedPlainTextEdit"></a> 210 <a NAME="EricSpellCheckedPlainTextEdit" ID="EricSpellCheckedPlainTextEdit"></a>
209 <h2>EricSpellCheckedPlainTextEdit</h2> 211 <h2>EricSpellCheckedPlainTextEdit</h2>
210
211 <p> 212 <p>
212 Class implementing a QPlainTextEdit with built-in spell checker. 213 Class implementing a QPlainTextEdit with built-in spell checker.
213 </p> 214 </p>
215
214 <h3>Derived from</h3> 216 <h3>Derived from</h3>
215 QPlainTextEdit, SpellCheckMixin 217 QPlainTextEdit, SpellCheckMixin
216 <h3>Class Attributes</h3> 218 <h3>Class Attributes</h3>
217 219 <table>
218 <table> 220 <tr><td>None</td></tr>
219 <tr><td>None</td></tr> 221 </table>
220 </table> 222
221 <h3>Class Methods</h3> 223 <h3>Class Methods</h3>
222 224 <table>
223 <table> 225 <tr><td>None</td></tr>
224 <tr><td>None</td></tr> 226 </table>
225 </table> 227
226 <h3>Methods</h3> 228 <h3>Methods</h3>
227 229 <table>
228 <table>
229
230 <tr> 230 <tr>
231 <td><a href="#EricSpellCheckedPlainTextEdit.__init__">EricSpellCheckedPlainTextEdit</a></td> 231 <td><a href="#EricSpellCheckedPlainTextEdit.__init__">EricSpellCheckedPlainTextEdit</a></td>
232 <td>Constructor</td> 232 <td>Constructor</td>
233 </tr> 233 </tr>
234 </table> 234 </table>
235
235 <h3>Static Methods</h3> 236 <h3>Static Methods</h3>
236 237 <table>
237 <table> 238 <tr><td>None</td></tr>
238 <tr><td>None</td></tr> 239 </table>
239 </table> 240
240 241
241 <a NAME="EricSpellCheckedPlainTextEdit.__init__" ID="EricSpellCheckedPlainTextEdit.__init__"></a> 242 <a NAME="EricSpellCheckedPlainTextEdit.__init__" ID="EricSpellCheckedPlainTextEdit.__init__"></a>
242 <h4>EricSpellCheckedPlainTextEdit (Constructor)</h4> 243 <h4>EricSpellCheckedPlainTextEdit (Constructor)</h4>
243 <b>EricSpellCheckedPlainTextEdit</b>(<i>*args, **kwargs</i>) 244 <b>EricSpellCheckedPlainTextEdit</b>(<i>*args, **kwargs</i>)
244
245 <p> 245 <p>
246 Constructor 246 Constructor
247 </p> 247 </p>
248
248 <dl> 249 <dl>
249 250
250 <dt><i>*args</i> (list)</dt> 251 <dt><i>*args</i> (list)</dt>
251 <dd> 252 <dd>
252 list of arguments for the QPlainTextEdit constructor. 253 list of arguments for the QPlainTextEdit constructor.
259 <div align="right"><a href="#top">Up</a></div> 260 <div align="right"><a href="#top">Up</a></div>
260 <hr /> 261 <hr />
261 <hr /> 262 <hr />
262 <a NAME="EricSpellCheckedTextEdit" ID="EricSpellCheckedTextEdit"></a> 263 <a NAME="EricSpellCheckedTextEdit" ID="EricSpellCheckedTextEdit"></a>
263 <h2>EricSpellCheckedTextEdit</h2> 264 <h2>EricSpellCheckedTextEdit</h2>
264
265 <p> 265 <p>
266 Class implementing a QTextEdit with built-in spell checker. 266 Class implementing a QTextEdit with built-in spell checker.
267 </p> 267 </p>
268
268 <h3>Derived from</h3> 269 <h3>Derived from</h3>
269 QTextEdit, SpellCheckMixin 270 QTextEdit, SpellCheckMixin
270 <h3>Class Attributes</h3> 271 <h3>Class Attributes</h3>
271 272 <table>
272 <table> 273 <tr><td>None</td></tr>
273 <tr><td>None</td></tr> 274 </table>
274 </table> 275
275 <h3>Class Methods</h3> 276 <h3>Class Methods</h3>
276 277 <table>
277 <table> 278 <tr><td>None</td></tr>
278 <tr><td>None</td></tr> 279 </table>
279 </table> 280
280 <h3>Methods</h3> 281 <h3>Methods</h3>
281 282 <table>
282 <table>
283
284 <tr> 283 <tr>
285 <td><a href="#EricSpellCheckedTextEdit.__init__">EricSpellCheckedTextEdit</a></td> 284 <td><a href="#EricSpellCheckedTextEdit.__init__">EricSpellCheckedTextEdit</a></td>
286 <td>Constructor</td> 285 <td>Constructor</td>
287 </tr> 286 </tr>
288 <tr> 287 <tr>
289 <td><a href="#EricSpellCheckedTextEdit.setAcceptRichText">setAcceptRichText</a></td> 288 <td><a href="#EricSpellCheckedTextEdit.setAcceptRichText">setAcceptRichText</a></td>
290 <td>Public method to set the text edit mode.</td> 289 <td>Public method to set the text edit mode.</td>
291 </tr> 290 </tr>
292 </table> 291 </table>
292
293 <h3>Static Methods</h3> 293 <h3>Static Methods</h3>
294 294 <table>
295 <table> 295 <tr><td>None</td></tr>
296 <tr><td>None</td></tr> 296 </table>
297 </table> 297
298 298
299 <a NAME="EricSpellCheckedTextEdit.__init__" ID="EricSpellCheckedTextEdit.__init__"></a> 299 <a NAME="EricSpellCheckedTextEdit.__init__" ID="EricSpellCheckedTextEdit.__init__"></a>
300 <h4>EricSpellCheckedTextEdit (Constructor)</h4> 300 <h4>EricSpellCheckedTextEdit (Constructor)</h4>
301 <b>EricSpellCheckedTextEdit</b>(<i>*args, **kwargs</i>) 301 <b>EricSpellCheckedTextEdit</b>(<i>*args, **kwargs</i>)
302
303 <p> 302 <p>
304 Constructor 303 Constructor
305 </p> 304 </p>
305
306 <dl> 306 <dl>
307 307
308 <dt><i>*args</i> (list)</dt> 308 <dt><i>*args</i> (list)</dt>
309 <dd> 309 <dd>
310 list of arguments for the QPlainTextEdit constructor. 310 list of arguments for the QPlainTextEdit constructor.
315 </dd> 315 </dd>
316 </dl> 316 </dl>
317 <a NAME="EricSpellCheckedTextEdit.setAcceptRichText" ID="EricSpellCheckedTextEdit.setAcceptRichText"></a> 317 <a NAME="EricSpellCheckedTextEdit.setAcceptRichText" ID="EricSpellCheckedTextEdit.setAcceptRichText"></a>
318 <h4>EricSpellCheckedTextEdit.setAcceptRichText</h4> 318 <h4>EricSpellCheckedTextEdit.setAcceptRichText</h4>
319 <b>setAcceptRichText</b>(<i>accept</i>) 319 <b>setAcceptRichText</b>(<i>accept</i>)
320
321 <p> 320 <p>
322 Public method to set the text edit mode. 321 Public method to set the text edit mode.
323 </p> 322 </p>
323
324 <dl> 324 <dl>
325 325
326 <dt><i>accept</i> (bool)</dt> 326 <dt><i>accept</i> (bool)</dt>
327 <dd> 327 <dd>
328 flag indicating to accept rich text 328 flag indicating to accept rich text
331 <div align="right"><a href="#top">Up</a></div> 331 <div align="right"><a href="#top">Up</a></div>
332 <hr /> 332 <hr />
333 <hr /> 333 <hr />
334 <a NAME="SpellCheckMixin" ID="SpellCheckMixin"></a> 334 <a NAME="SpellCheckMixin" ID="SpellCheckMixin"></a>
335 <h2>SpellCheckMixin</h2> 335 <h2>SpellCheckMixin</h2>
336
337 <p> 336 <p>
338 Class implementing the spell-check mixin for the widget classes. 337 Class implementing the spell-check mixin for the widget classes.
339 </p> 338 </p>
339
340 <h3>Derived from</h3> 340 <h3>Derived from</h3>
341 None 341 None
342 <h3>Class Attributes</h3> 342 <h3>Class Attributes</h3>
343 343 <table>
344 <table> 344 <tr><td>DefaultLanguage</td></tr>
345 <tr><td>DefaultLanguage</td></tr><tr><td>DefaultUserExceptionList</td></tr><tr><td>DefaultUserWordList</td></tr><tr><td>MaxSuggestions</td></tr> 345 <tr><td>DefaultUserExceptionList</td></tr>
346 </table> 346 <tr><td>DefaultUserWordList</td></tr>
347 <tr><td>MaxSuggestions</td></tr>
348 </table>
349
347 <h3>Class Methods</h3> 350 <h3>Class Methods</h3>
348 351 <table>
349 <table>
350
351 <tr> 352 <tr>
352 <td><a href="#SpellCheckMixin.setDefaultLanguage">setDefaultLanguage</a></td> 353 <td><a href="#SpellCheckMixin.setDefaultLanguage">setDefaultLanguage</a></td>
353 <td>Class method to set the default spell-check language.</td> 354 <td>Class method to set the default spell-check language.</td>
354 </tr> 355 </tr>
355 </table> 356 </table>
357
356 <h3>Methods</h3> 358 <h3>Methods</h3>
357 359 <table>
358 <table>
359
360 <tr> 360 <tr>
361 <td><a href="#SpellCheckMixin.__init__">SpellCheckMixin</a></td> 361 <td><a href="#SpellCheckMixin.__init__">SpellCheckMixin</a></td>
362 <td>Constructor</td> 362 <td>Constructor</td>
363 </tr> 363 </tr>
364 <tr> 364 <tr>
432 <tr> 432 <tr>
433 <td><a href="#SpellCheckMixin.setLanguageWithPWL">setLanguageWithPWL</a></td> 433 <td><a href="#SpellCheckMixin.setLanguageWithPWL">setLanguageWithPWL</a></td>
434 <td>Public slot to set the spellchecker language and associated user word lists.</td> 434 <td>Public slot to set the spellchecker language and associated user word lists.</td>
435 </tr> 435 </tr>
436 </table> 436 </table>
437
437 <h3>Static Methods</h3> 438 <h3>Static Methods</h3>
438 439 <table>
439 <table> 440 <tr><td>None</td></tr>
440 <tr><td>None</td></tr> 441 </table>
441 </table> 442
442 443
443 <a NAME="SpellCheckMixin.setDefaultLanguage" ID="SpellCheckMixin.setDefaultLanguage"></a> 444 <a NAME="SpellCheckMixin.setDefaultLanguage" ID="SpellCheckMixin.setDefaultLanguage"></a>
444 <h4>SpellCheckMixin.setDefaultLanguage (class method)</h4> 445 <h4>SpellCheckMixin.setDefaultLanguage (class method)</h4>
445 <b>setDefaultLanguage</b>(<i>language, pwl=None, pel=None</i>) 446 <b>setDefaultLanguage</b>(<i>language, pwl=None, pel=None</i>)
446
447 <p> 447 <p>
448 Class method to set the default spell-check language. 448 Class method to set the default spell-check language.
449 </p> 449 </p>
450
450 <dl> 451 <dl>
451 452
452 <dt><i>language</i> (str)</dt> 453 <dt><i>language</i> (str)</dt>
453 <dd> 454 <dd>
454 language to be set as default 455 language to be set as default
463 </dd> 464 </dd>
464 </dl> 465 </dl>
465 <a NAME="SpellCheckMixin.__init__" ID="SpellCheckMixin.__init__"></a> 466 <a NAME="SpellCheckMixin.__init__" ID="SpellCheckMixin.__init__"></a>
466 <h4>SpellCheckMixin (Constructor)</h4> 467 <h4>SpellCheckMixin (Constructor)</h4>
467 <b>SpellCheckMixin</b>(<i></i>) 468 <b>SpellCheckMixin</b>(<i></i>)
468
469 <p> 469 <p>
470 Constructor 470 Constructor
471 </p> 471 </p>
472
472 <a NAME="SpellCheckMixin.__addRemoveEntry" ID="SpellCheckMixin.__addRemoveEntry"></a> 473 <a NAME="SpellCheckMixin.__addRemoveEntry" ID="SpellCheckMixin.__addRemoveEntry"></a>
473 <h4>SpellCheckMixin.__addRemoveEntry</h4> 474 <h4>SpellCheckMixin.__addRemoveEntry</h4>
474 <b>__addRemoveEntry</b>(<i>cursor, menu</i>) 475 <b>__addRemoveEntry</b>(<i>cursor, menu</i>)
475
476 <p> 476 <p>
477 Private method to create a menu entry to remove the word at the 477 Private method to create a menu entry to remove the word at the
478 menu position. 478 menu position.
479 </p> 479 </p>
480
480 <dl> 481 <dl>
481 482
482 <dt><i>cursor</i> (QTextCursor)</dt> 483 <dt><i>cursor</i> (QTextCursor)</dt>
483 <dd> 484 <dd>
484 reference to the text cursor for the misspelled word 485 reference to the text cursor for the misspelled word
489 </dd> 490 </dd>
490 </dl> 491 </dl>
491 <a NAME="SpellCheckMixin.__addToUserDict" ID="SpellCheckMixin.__addToUserDict"></a> 492 <a NAME="SpellCheckMixin.__addToUserDict" ID="SpellCheckMixin.__addToUserDict"></a>
492 <h4>SpellCheckMixin.__addToUserDict</h4> 493 <h4>SpellCheckMixin.__addToUserDict</h4>
493 <b>__addToUserDict</b>(<i>word, command</i>) 494 <b>__addToUserDict</b>(<i>word, command</i>)
494
495 <p> 495 <p>
496 Private method to add a word to the user word or exclude list. 496 Private method to add a word to the user word or exclude list.
497 </p> 497 </p>
498
498 <dl> 499 <dl>
499 500
500 <dt><i>word</i> (str)</dt> 501 <dt><i>word</i> (str)</dt>
501 <dd> 502 <dd>
502 text to be added 503 text to be added
507 </dd> 508 </dd>
508 </dl> 509 </dl>
509 <a NAME="SpellCheckMixin.__correctWord" ID="SpellCheckMixin.__correctWord"></a> 510 <a NAME="SpellCheckMixin.__correctWord" ID="SpellCheckMixin.__correctWord"></a>
510 <h4>SpellCheckMixin.__correctWord</h4> 511 <h4>SpellCheckMixin.__correctWord</h4>
511 <b>__correctWord</b>(<i>cursor, word</i>) 512 <b>__correctWord</b>(<i>cursor, word</i>)
512
513 <p> 513 <p>
514 Private method to replace some misspelled text. 514 Private method to replace some misspelled text.
515 </p> 515 </p>
516
516 <dl> 517 <dl>
517 518
518 <dt><i>cursor</i> (QTextCursor)</dt> 519 <dt><i>cursor</i> (QTextCursor)</dt>
519 <dd> 520 <dd>
520 reference to the text cursor for the misspelled word 521 reference to the text cursor for the misspelled word
525 </dd> 526 </dd>
526 </dl> 527 </dl>
527 <a NAME="SpellCheckMixin.__createCorrectionsMenu" ID="SpellCheckMixin.__createCorrectionsMenu"></a> 528 <a NAME="SpellCheckMixin.__createCorrectionsMenu" ID="SpellCheckMixin.__createCorrectionsMenu"></a>
528 <h4>SpellCheckMixin.__createCorrectionsMenu</h4> 529 <h4>SpellCheckMixin.__createCorrectionsMenu</h4>
529 <b>__createCorrectionsMenu</b>(<i>cursor, parent=None</i>) 530 <b>__createCorrectionsMenu</b>(<i>cursor, parent=None</i>)
530
531 <p> 531 <p>
532 Private method to create a menu for corrections of the selected 532 Private method to create a menu for corrections of the selected
533 word. 533 word.
534 </p> 534 </p>
535
535 <dl> 536 <dl>
536 537
537 <dt><i>cursor</i> (QTextCursor)</dt> 538 <dt><i>cursor</i> (QTextCursor)</dt>
538 <dd> 539 <dd>
539 reference to the text cursor 540 reference to the text cursor
556 </dd> 557 </dd>
557 </dl> 558 </dl>
558 <a NAME="SpellCheckMixin.__createFormatsMenu" ID="SpellCheckMixin.__createFormatsMenu"></a> 559 <a NAME="SpellCheckMixin.__createFormatsMenu" ID="SpellCheckMixin.__createFormatsMenu"></a>
559 <h4>SpellCheckMixin.__createFormatsMenu</h4> 560 <h4>SpellCheckMixin.__createFormatsMenu</h4>
560 <b>__createFormatsMenu</b>(<i>parent=None</i>) 561 <b>__createFormatsMenu</b>(<i>parent=None</i>)
561
562 <p> 562 <p>
563 Private method to create a menu for selecting the document format. 563 Private method to create a menu for selecting the document format.
564 </p> 564 </p>
565
565 <dl> 566 <dl>
566 567
567 <dt><i>parent</i> (QWidget (optional))</dt> 568 <dt><i>parent</i> (QWidget (optional))</dt>
568 <dd> 569 <dd>
569 reference to the parent widget (defaults to None) 570 reference to the parent widget (defaults to None)
582 </dd> 583 </dd>
583 </dl> 584 </dl>
584 <a NAME="SpellCheckMixin.__createLanguagesMenu" ID="SpellCheckMixin.__createLanguagesMenu"></a> 585 <a NAME="SpellCheckMixin.__createLanguagesMenu" ID="SpellCheckMixin.__createLanguagesMenu"></a>
585 <h4>SpellCheckMixin.__createLanguagesMenu</h4> 586 <h4>SpellCheckMixin.__createLanguagesMenu</h4>
586 <b>__createLanguagesMenu</b>(<i>parent=None</i>) 587 <b>__createLanguagesMenu</b>(<i>parent=None</i>)
587
588 <p> 588 <p>
589 Private method to create a menu for selecting the spell-check 589 Private method to create a menu for selecting the spell-check
590 language. 590 language.
591 </p> 591 </p>
592
592 <dl> 593 <dl>
593 594
594 <dt><i>parent</i> (QWidget (optional))</dt> 595 <dt><i>parent</i> (QWidget (optional))</dt>
595 <dd> 596 <dd>
596 reference to the parent widget (defaults to None) 597 reference to the parent widget (defaults to None)
609 </dd> 610 </dd>
610 </dl> 611 </dl>
611 <a NAME="SpellCheckMixin.__createSpellcheckContextMenu" ID="SpellCheckMixin.__createSpellcheckContextMenu"></a> 612 <a NAME="SpellCheckMixin.__createSpellcheckContextMenu" ID="SpellCheckMixin.__createSpellcheckContextMenu"></a>
612 <h4>SpellCheckMixin.__createSpellcheckContextMenu</h4> 613 <h4>SpellCheckMixin.__createSpellcheckContextMenu</h4>
613 <b>__createSpellcheckContextMenu</b>(<i>pos</i>) 614 <b>__createSpellcheckContextMenu</b>(<i>pos</i>)
614
615 <p> 615 <p>
616 Private method to create the spell-check context menu. 616 Private method to create the spell-check context menu.
617 </p> 617 </p>
618
618 <dl> 619 <dl>
619 620
620 <dt><i>pos</i> (QPoint)</dt> 621 <dt><i>pos</i> (QPoint)</dt>
621 <dd> 622 <dd>
622 position of the mouse pointer 623 position of the mouse pointer
635 </dd> 636 </dd>
636 </dl> 637 </dl>
637 <a NAME="SpellCheckMixin.__cursorForMisspelling" ID="SpellCheckMixin.__cursorForMisspelling"></a> 638 <a NAME="SpellCheckMixin.__cursorForMisspelling" ID="SpellCheckMixin.__cursorForMisspelling"></a>
638 <h4>SpellCheckMixin.__cursorForMisspelling</h4> 639 <h4>SpellCheckMixin.__cursorForMisspelling</h4>
639 <b>__cursorForMisspelling</b>(<i>pos</i>) 640 <b>__cursorForMisspelling</b>(<i>pos</i>)
640
641 <p> 641 <p>
642 Private method to create a text cursor selecting the misspelled 642 Private method to create a text cursor selecting the misspelled
643 word. 643 word.
644 </p> 644 </p>
645
645 <dl> 646 <dl>
646 647
647 <dt><i>pos</i> (QPoint)</dt> 648 <dt><i>pos</i> (QPoint)</dt>
648 <dd> 649 <dd>
649 position of the misspelled word 650 position of the misspelled word
662 </dd> 663 </dd>
663 </dl> 664 </dl>
664 <a NAME="SpellCheckMixin.__cursorForPosition" ID="SpellCheckMixin.__cursorForPosition"></a> 665 <a NAME="SpellCheckMixin.__cursorForPosition" ID="SpellCheckMixin.__cursorForPosition"></a>
665 <h4>SpellCheckMixin.__cursorForPosition</h4> 666 <h4>SpellCheckMixin.__cursorForPosition</h4>
666 <b>__cursorForPosition</b>(<i>pos</i>) 667 <b>__cursorForPosition</b>(<i>pos</i>)
667
668 <p> 668 <p>
669 Private method to create a text cursor selecting the word at the 669 Private method to create a text cursor selecting the word at the
670 given position. 670 given position.
671 </p> 671 </p>
672
672 <dl> 673 <dl>
673 674
674 <dt><i>pos</i> (QPoint)</dt> 675 <dt><i>pos</i> (QPoint)</dt>
675 <dd> 676 <dd>
676 position of the misspelled word 677 position of the misspelled word
689 </dd> 690 </dd>
690 </dl> 691 </dl>
691 <a NAME="SpellCheckMixin.__setFormat" ID="SpellCheckMixin.__setFormat"></a> 692 <a NAME="SpellCheckMixin.__setFormat" ID="SpellCheckMixin.__setFormat"></a>
692 <h4>SpellCheckMixin.__setFormat</h4> 693 <h4>SpellCheckMixin.__setFormat</h4>
693 <b>__setFormat</b>(<i>act</i>) 694 <b>__setFormat</b>(<i>act</i>)
694
695 <p> 695 <p>
696 Private slot to set the selected document format. 696 Private slot to set the selected document format.
697 </p> 697 </p>
698
698 <dl> 699 <dl>
699 700
700 <dt><i>act</i> (QAction)</dt> 701 <dt><i>act</i> (QAction)</dt>
701 <dd> 702 <dd>
702 reference to the selected action 703 reference to the selected action
703 </dd> 704 </dd>
704 </dl> 705 </dl>
705 <a NAME="SpellCheckMixin.__setLanguage" ID="SpellCheckMixin.__setLanguage"></a> 706 <a NAME="SpellCheckMixin.__setLanguage" ID="SpellCheckMixin.__setLanguage"></a>
706 <h4>SpellCheckMixin.__setLanguage</h4> 707 <h4>SpellCheckMixin.__setLanguage</h4>
707 <b>__setLanguage</b>(<i>act</i>) 708 <b>__setLanguage</b>(<i>act</i>)
708
709 <p> 709 <p>
710 Private slot to set the selected language. 710 Private slot to set the selected language.
711 </p> 711 </p>
712
712 <dl> 713 <dl>
713 714
714 <dt><i>act</i> (QAction)</dt> 715 <dt><i>act</i> (QAction)</dt>
715 <dd> 716 <dd>
716 reference to the selected action 717 reference to the selected action
717 </dd> 718 </dd>
718 </dl> 719 </dl>
719 <a NAME="SpellCheckMixin.__spellMenuTriggered" ID="SpellCheckMixin.__spellMenuTriggered"></a> 720 <a NAME="SpellCheckMixin.__spellMenuTriggered" ID="SpellCheckMixin.__spellMenuTriggered"></a>
720 <h4>SpellCheckMixin.__spellMenuTriggered</h4> 721 <h4>SpellCheckMixin.__spellMenuTriggered</h4>
721 <b>__spellMenuTriggered</b>(<i>act</i>) 722 <b>__spellMenuTriggered</b>(<i>act</i>)
722
723 <p> 723 <p>
724 Private slot to handle a selection of the spell menu. 724 Private slot to handle a selection of the spell menu.
725 </p> 725 </p>
726
726 <dl> 727 <dl>
727 728
728 <dt><i>act</i> (QAction)</dt> 729 <dt><i>act</i> (QAction)</dt>
729 <dd> 730 <dd>
730 reference to the selected action 731 reference to the selected action
731 </dd> 732 </dd>
732 </dl> 733 </dl>
733 <a NAME="SpellCheckMixin._showContextMenu" ID="SpellCheckMixin._showContextMenu"></a> 734 <a NAME="SpellCheckMixin._showContextMenu" ID="SpellCheckMixin._showContextMenu"></a>
734 <h4>SpellCheckMixin._showContextMenu</h4> 735 <h4>SpellCheckMixin._showContextMenu</h4>
735 <b>_showContextMenu</b>(<i>pos</i>) 736 <b>_showContextMenu</b>(<i>pos</i>)
736
737 <p> 737 <p>
738 Protected slot to show a context menu. 738 Protected slot to show a context menu.
739 </p> 739 </p>
740
740 <dl> 741 <dl>
741 742
742 <dt><i>pos</i> (QPoint)</dt> 743 <dt><i>pos</i> (QPoint)</dt>
743 <dd> 744 <dd>
744 position for the context menu 745 position for the context menu
745 </dd> 746 </dd>
746 </dl> 747 </dl>
747 <a NAME="SpellCheckMixin.dict" ID="SpellCheckMixin.dict"></a> 748 <a NAME="SpellCheckMixin.dict" ID="SpellCheckMixin.dict"></a>
748 <h4>SpellCheckMixin.dict</h4> 749 <h4>SpellCheckMixin.dict</h4>
749 <b>dict</b>(<i></i>) 750 <b>dict</b>(<i></i>)
750
751 <p> 751 <p>
752 Public method to get a reference to the dictionary in use. 752 Public method to get a reference to the dictionary in use.
753 </p> 753 </p>
754
754 <dl> 755 <dl>
755 <dt>Return:</dt> 756 <dt>Return:</dt>
756 <dd> 757 <dd>
757 reference to the current dictionary 758 reference to the current dictionary
758 </dd> 759 </dd>
764 </dd> 765 </dd>
765 </dl> 766 </dl>
766 <a NAME="SpellCheckMixin.setDict" ID="SpellCheckMixin.setDict"></a> 767 <a NAME="SpellCheckMixin.setDict" ID="SpellCheckMixin.setDict"></a>
767 <h4>SpellCheckMixin.setDict</h4> 768 <h4>SpellCheckMixin.setDict</h4>
768 <b>setDict</b>(<i>spellDict</i>) 769 <b>setDict</b>(<i>spellDict</i>)
769
770 <p> 770 <p>
771 Public method to set the dictionary to be used. 771 Public method to set the dictionary to be used.
772 </p> 772 </p>
773
773 <dl> 774 <dl>
774 775
775 <dt><i>spellDict</i> (emchant.Dict)</dt> 776 <dt><i>spellDict</i> (emchant.Dict)</dt>
776 <dd> 777 <dd>
777 reference to the spell-check dictionary 778 reference to the spell-check dictionary
778 </dd> 779 </dd>
779 </dl> 780 </dl>
780 <a NAME="SpellCheckMixin.setFormat" ID="SpellCheckMixin.setFormat"></a> 781 <a NAME="SpellCheckMixin.setFormat" ID="SpellCheckMixin.setFormat"></a>
781 <h4>SpellCheckMixin.setFormat</h4> 782 <h4>SpellCheckMixin.setFormat</h4>
782 <b>setFormat</b>(<i>formatName</i>) 783 <b>setFormat</b>(<i>formatName</i>)
783
784 <p> 784 <p>
785 Public method to set the document format. 785 Public method to set the document format.
786 </p> 786 </p>
787
787 <dl> 788 <dl>
788 789
789 <dt><i>formatName</i> (str)</dt> 790 <dt><i>formatName</i> (str)</dt>
790 <dd> 791 <dd>
791 name of the document format 792 name of the document format
792 </dd> 793 </dd>
793 </dl> 794 </dl>
794 <a NAME="SpellCheckMixin.setLanguage" ID="SpellCheckMixin.setLanguage"></a> 795 <a NAME="SpellCheckMixin.setLanguage" ID="SpellCheckMixin.setLanguage"></a>
795 <h4>SpellCheckMixin.setLanguage</h4> 796 <h4>SpellCheckMixin.setLanguage</h4>
796 <b>setLanguage</b>(<i>language</i>) 797 <b>setLanguage</b>(<i>language</i>)
797
798 <p> 798 <p>
799 Public slot to set the spellchecker language. 799 Public slot to set the spellchecker language.
800 </p> 800 </p>
801
801 <dl> 802 <dl>
802 803
803 <dt><i>language</i> (str)</dt> 804 <dt><i>language</i> (str)</dt>
804 <dd> 805 <dd>
805 language to be set 806 language to be set
806 </dd> 807 </dd>
807 </dl> 808 </dl>
808 <a NAME="SpellCheckMixin.setLanguageWithPWL" ID="SpellCheckMixin.setLanguageWithPWL"></a> 809 <a NAME="SpellCheckMixin.setLanguageWithPWL" ID="SpellCheckMixin.setLanguageWithPWL"></a>
809 <h4>SpellCheckMixin.setLanguageWithPWL</h4> 810 <h4>SpellCheckMixin.setLanguageWithPWL</h4>
810 <b>setLanguageWithPWL</b>(<i>language, pwl, pel</i>) 811 <b>setLanguageWithPWL</b>(<i>language, pwl, pel</i>)
811
812 <p> 812 <p>
813 Public slot to set the spellchecker language and associated user 813 Public slot to set the spellchecker language and associated user
814 word lists. 814 word lists.
815 </p> 815 </p>
816
816 <dl> 817 <dl>
817 818
818 <dt><i>language</i> (str)</dt> 819 <dt><i>language</i> (str)</dt>
819 <dd> 820 <dd>
820 language to be set 821 language to be set
831 <div align="right"><a href="#top">Up</a></div> 832 <div align="right"><a href="#top">Up</a></div>
832 <hr /> 833 <hr />
833 <hr /> 834 <hr />
834 <a NAME="SpellCheckMixin_1" ID="SpellCheckMixin_1"></a> 835 <a NAME="SpellCheckMixin_1" ID="SpellCheckMixin_1"></a>
835 <h2>SpellCheckMixin</h2> 836 <h2>SpellCheckMixin</h2>
836
837 <p> 837 <p>
838 Class implementing the spell-check mixin for the widget classes. 838 Class implementing the spell-check mixin for the widget classes.
839 </p> 839 </p>
840
840 <h3>Derived from</h3> 841 <h3>Derived from</h3>
841 None 842 None
842 <h3>Class Attributes</h3> 843 <h3>Class Attributes</h3>
843 844 <table>
844 <table> 845 <tr><td>None</td></tr>
845 <tr><td>None</td></tr> 846 </table>
846 </table> 847
847 <h3>Class Methods</h3> 848 <h3>Class Methods</h3>
848 849 <table>
849 <table>
850
851 <tr> 850 <tr>
852 <td><a href="#SpellCheckMixin_1.setDefaultLanguage">setDefaultLanguage</a></td> 851 <td><a href="#SpellCheckMixin_1.setDefaultLanguage">setDefaultLanguage</a></td>
853 <td>Class method to set the default spell-check language.</td> 852 <td>Class method to set the default spell-check language.</td>
854 </tr> 853 </tr>
855 </table> 854 </table>
855
856 <h3>Methods</h3> 856 <h3>Methods</h3>
857 857 <table>
858 <table>
859
860 <tr> 858 <tr>
861 <td><a href="#SpellCheckMixin_1.__init__">SpellCheckMixin</a></td> 859 <td><a href="#SpellCheckMixin_1.__init__">SpellCheckMixin</a></td>
862 <td>Constructor</td> 860 <td>Constructor</td>
863 </tr> 861 </tr>
864 <tr> 862 <tr>
884 <tr> 882 <tr>
885 <td><a href="#SpellCheckMixin_1.setLanguageWithPWL">setLanguageWithPWL</a></td> 883 <td><a href="#SpellCheckMixin_1.setLanguageWithPWL">setLanguageWithPWL</a></td>
886 <td>Public slot to set the spellchecker language and associated user word lists.</td> 884 <td>Public slot to set the spellchecker language and associated user word lists.</td>
887 </tr> 885 </tr>
888 </table> 886 </table>
887
889 <h3>Static Methods</h3> 888 <h3>Static Methods</h3>
890 889 <table>
891 <table> 890 <tr><td>None</td></tr>
892 <tr><td>None</td></tr> 891 </table>
893 </table> 892
894 893
895 <a NAME="SpellCheckMixin_1.setDefaultLanguage" ID="SpellCheckMixin_1.setDefaultLanguage"></a> 894 <a NAME="SpellCheckMixin_1.setDefaultLanguage" ID="SpellCheckMixin_1.setDefaultLanguage"></a>
896 <h4>SpellCheckMixin.setDefaultLanguage (class method)</h4> 895 <h4>SpellCheckMixin.setDefaultLanguage (class method)</h4>
897 <b>setDefaultLanguage</b>(<i>language, pwl=None, pel=None</i>) 896 <b>setDefaultLanguage</b>(<i>language, pwl=None, pel=None</i>)
898
899 <p> 897 <p>
900 Class method to set the default spell-check language. 898 Class method to set the default spell-check language.
901 </p> 899 </p>
900
902 <dl> 901 <dl>
903 902
904 <dt><i>language</i> (str)</dt> 903 <dt><i>language</i> (str)</dt>
905 <dd> 904 <dd>
906 language to be set as default 905 language to be set as default
915 </dd> 914 </dd>
916 </dl> 915 </dl>
917 <a NAME="SpellCheckMixin_1.__init__" ID="SpellCheckMixin_1.__init__"></a> 916 <a NAME="SpellCheckMixin_1.__init__" ID="SpellCheckMixin_1.__init__"></a>
918 <h4>SpellCheckMixin (Constructor)</h4> 917 <h4>SpellCheckMixin (Constructor)</h4>
919 <b>SpellCheckMixin</b>(<i></i>) 918 <b>SpellCheckMixin</b>(<i></i>)
920
921 <p> 919 <p>
922 Constructor 920 Constructor
923 </p> 921 </p>
922
924 <a NAME="SpellCheckMixin_1._showContextMenu" ID="SpellCheckMixin_1._showContextMenu"></a> 923 <a NAME="SpellCheckMixin_1._showContextMenu" ID="SpellCheckMixin_1._showContextMenu"></a>
925 <h4>SpellCheckMixin._showContextMenu</h4> 924 <h4>SpellCheckMixin._showContextMenu</h4>
926 <b>_showContextMenu</b>(<i>pos</i>) 925 <b>_showContextMenu</b>(<i>pos</i>)
927
928 <p> 926 <p>
929 Protected slot to show a context menu. 927 Protected slot to show a context menu.
930 </p> 928 </p>
929
931 <dl> 930 <dl>
932 931
933 <dt><i>pos</i> (QPoint)</dt> 932 <dt><i>pos</i> (QPoint)</dt>
934 <dd> 933 <dd>
935 position for the context menu 934 position for the context menu
936 </dd> 935 </dd>
937 </dl> 936 </dl>
938 <a NAME="SpellCheckMixin_1.dict" ID="SpellCheckMixin_1.dict"></a> 937 <a NAME="SpellCheckMixin_1.dict" ID="SpellCheckMixin_1.dict"></a>
939 <h4>SpellCheckMixin.dict</h4> 938 <h4>SpellCheckMixin.dict</h4>
940 <b>dict</b>(<i></i>) 939 <b>dict</b>(<i></i>)
941
942 <p> 940 <p>
943 Public method to get a reference to the dictionary in use. 941 Public method to get a reference to the dictionary in use.
944 </p> 942 </p>
943
945 <dl> 944 <dl>
946 <dt>Return:</dt> 945 <dt>Return:</dt>
947 <dd> 946 <dd>
948 reference to the current dictionary 947 reference to the current dictionary
949 </dd> 948 </dd>
955 </dd> 954 </dd>
956 </dl> 955 </dl>
957 <a NAME="SpellCheckMixin_1.setDict" ID="SpellCheckMixin_1.setDict"></a> 956 <a NAME="SpellCheckMixin_1.setDict" ID="SpellCheckMixin_1.setDict"></a>
958 <h4>SpellCheckMixin.setDict</h4> 957 <h4>SpellCheckMixin.setDict</h4>
959 <b>setDict</b>(<i>spellDict</i>) 958 <b>setDict</b>(<i>spellDict</i>)
960
961 <p> 959 <p>
962 Public method to set the dictionary to be used. 960 Public method to set the dictionary to be used.
963 </p> 961 </p>
962
964 <dl> 963 <dl>
965 964
966 <dt><i>spellDict</i> (emchant.Dict)</dt> 965 <dt><i>spellDict</i> (emchant.Dict)</dt>
967 <dd> 966 <dd>
968 reference to the spell-check dictionary 967 reference to the spell-check dictionary
969 </dd> 968 </dd>
970 </dl> 969 </dl>
971 <a NAME="SpellCheckMixin_1.setFormat" ID="SpellCheckMixin_1.setFormat"></a> 970 <a NAME="SpellCheckMixin_1.setFormat" ID="SpellCheckMixin_1.setFormat"></a>
972 <h4>SpellCheckMixin.setFormat</h4> 971 <h4>SpellCheckMixin.setFormat</h4>
973 <b>setFormat</b>(<i>formatName</i>) 972 <b>setFormat</b>(<i>formatName</i>)
974
975 <p> 973 <p>
976 Public method to set the document format. 974 Public method to set the document format.
977 </p> 975 </p>
976
978 <dl> 977 <dl>
979 978
980 <dt><i>formatName</i> (str)</dt> 979 <dt><i>formatName</i> (str)</dt>
981 <dd> 980 <dd>
982 name of the document format 981 name of the document format
983 </dd> 982 </dd>
984 </dl> 983 </dl>
985 <a NAME="SpellCheckMixin_1.setLanguage" ID="SpellCheckMixin_1.setLanguage"></a> 984 <a NAME="SpellCheckMixin_1.setLanguage" ID="SpellCheckMixin_1.setLanguage"></a>
986 <h4>SpellCheckMixin.setLanguage</h4> 985 <h4>SpellCheckMixin.setLanguage</h4>
987 <b>setLanguage</b>(<i>language</i>) 986 <b>setLanguage</b>(<i>language</i>)
988
989 <p> 987 <p>
990 Public slot to set the spellchecker language. 988 Public slot to set the spellchecker language.
991 </p> 989 </p>
990
992 <dl> 991 <dl>
993 992
994 <dt><i>language</i> (str)</dt> 993 <dt><i>language</i> (str)</dt>
995 <dd> 994 <dd>
996 language to be set 995 language to be set
997 </dd> 996 </dd>
998 </dl> 997 </dl>
999 <a NAME="SpellCheckMixin_1.setLanguageWithPWL" ID="SpellCheckMixin_1.setLanguageWithPWL"></a> 998 <a NAME="SpellCheckMixin_1.setLanguageWithPWL" ID="SpellCheckMixin_1.setLanguageWithPWL"></a>
1000 <h4>SpellCheckMixin.setLanguageWithPWL</h4> 999 <h4>SpellCheckMixin.setLanguageWithPWL</h4>
1001 <b>setLanguageWithPWL</b>(<i>language, pwl, pel</i>) 1000 <b>setLanguageWithPWL</b>(<i>language, pwl, pel</i>)
1002
1003 <p> 1001 <p>
1004 Public slot to set the spellchecker language and associated user 1002 Public slot to set the spellchecker language and associated user
1005 word lists. 1003 word lists.
1006 </p> 1004 </p>
1005
1007 <dl> 1006 <dl>
1008 1007
1009 <dt><i>language</i> (str)</dt> 1008 <dt><i>language</i> (str)</dt>
1010 <dd> 1009 <dd>
1011 language to be set 1010 language to be set

eric ide

mercurial