71 <table> |
71 <table> |
72 <tr> |
72 <tr> |
73 <td><a href="#QsciScintillaCompat.__init__">QsciScintillaCompat</a></td> |
73 <td><a href="#QsciScintillaCompat.__init__">QsciScintillaCompat</a></td> |
74 <td>Constructor</td> |
74 <td>Constructor</td> |
75 </tr><tr> |
75 </tr><tr> |
|
76 <td><a href="#QsciScintillaCompat.__completionListSelected">__completionListSelected</a></td> |
|
77 <td>Private slot to handle the selection from the completion list.</td> |
|
78 </tr><tr> |
76 <td><a href="#QsciScintillaCompat.__doSearchTarget">__doSearchTarget</a></td> |
79 <td><a href="#QsciScintillaCompat.__doSearchTarget">__doSearchTarget</a></td> |
77 <td>Private method to perform the search in target.</td> |
80 <td>Private method to perform the search in target.</td> |
78 </tr><tr> |
81 </tr><tr> |
|
82 <td><a href="#QsciScintillaCompat.__modificationChanged">__modificationChanged</a></td> |
|
83 <td>Private slot to handle the modificationChanged signal.</td> |
|
84 </tr><tr> |
79 <td><a href="#QsciScintillaCompat.__setFoldMarker">__setFoldMarker</a></td> |
85 <td><a href="#QsciScintillaCompat.__setFoldMarker">__setFoldMarker</a></td> |
80 <td>Private method to define a fold marker.</td> |
86 <td>Private method to define a fold marker.</td> |
81 </tr><tr> |
87 </tr><tr> |
82 <td><a href="#QsciScintillaCompat._encodeString">_encodeString</a></td> |
88 <td><a href="#QsciScintillaCompat._encodeString">_encodeString</a></td> |
83 <td>Protected method to encode a string depending on the current mode.</td> |
89 <td>Protected method to encode a string depending on the current mode.</td> |
242 <td>Protected method to cope with a glitch in some Qscintilla versions handling input events.</td> |
248 <td>Protected method to cope with a glitch in some Qscintilla versions handling input events.</td> |
243 </tr><tr> |
249 </tr><tr> |
244 <td><a href="#QsciScintillaCompat.inputMethodQuery">inputMethodQuery</a></td> |
250 <td><a href="#QsciScintillaCompat.inputMethodQuery">inputMethodQuery</a></td> |
245 <td>Protected method to cope with a glitch in some Qscintilla versions handling input events.</td> |
251 <td>Protected method to cope with a glitch in some Qscintilla versions handling input events.</td> |
246 </tr><tr> |
252 </tr><tr> |
|
253 <td><a href="#QsciScintillaCompat.isModified">isModified</a></td> |
|
254 <td>Public method to return the modification status.</td> |
|
255 </tr><tr> |
247 <td><a href="#QsciScintillaCompat.lineAt">lineAt</a></td> |
256 <td><a href="#QsciScintillaCompat.lineAt">lineAt</a></td> |
248 <td>Public method to calculate the line at a position.</td> |
257 <td>Public method to calculate the line at a position.</td> |
249 </tr><tr> |
258 </tr><tr> |
250 <td><a href="#QsciScintillaCompat.lineEndPosition">lineEndPosition</a></td> |
259 <td><a href="#QsciScintillaCompat.lineEndPosition">lineEndPosition</a></td> |
251 <td>Public method to determine the line end position of the given line.</td> |
260 <td>Public method to determine the line end position of the given line.</td> |
328 <td><a href="#QsciScintillaCompat.setIndicatorRange">setIndicatorRange</a></td> |
337 <td><a href="#QsciScintillaCompat.setIndicatorRange">setIndicatorRange</a></td> |
329 <td>Public method to set an indicator for the given range.</td> |
338 <td>Public method to set an indicator for the given range.</td> |
330 </tr><tr> |
339 </tr><tr> |
331 <td><a href="#QsciScintillaCompat.setLexer">setLexer</a></td> |
340 <td><a href="#QsciScintillaCompat.setLexer">setLexer</a></td> |
332 <td>Public method to set the lexer.</td> |
341 <td>Public method to set the lexer.</td> |
|
342 </tr><tr> |
|
343 <td><a href="#QsciScintillaCompat.setModified">setModified</a></td> |
|
344 <td>Public slot to set the modification status.</td> |
333 </tr><tr> |
345 </tr><tr> |
334 <td><a href="#QsciScintillaCompat.setRectangularSelection">setRectangularSelection</a></td> |
346 <td><a href="#QsciScintillaCompat.setRectangularSelection">setRectangularSelection</a></td> |
335 <td>Public method to set a rectangular selection.</td> |
347 <td>Public method to set a rectangular selection.</td> |
336 </tr><tr> |
348 </tr><tr> |
337 <td><a href="#QsciScintillaCompat.setStyleBits">setStyleBits</a></td> |
349 <td><a href="#QsciScintillaCompat.setStyleBits">setStyleBits</a></td> |
377 </p><dl> |
389 </p><dl> |
378 <dt><i>parent</i></dt> |
390 <dt><i>parent</i></dt> |
379 <dd> |
391 <dd> |
380 parent widget (QWidget) |
392 parent widget (QWidget) |
381 </dd> |
393 </dd> |
|
394 </dl><a NAME="QsciScintillaCompat.__completionListSelected" ID="QsciScintillaCompat.__completionListSelected"></a> |
|
395 <h4>QsciScintillaCompat.__completionListSelected</h4> |
|
396 <b>__completionListSelected</b>(<i>id, txt</i>) |
|
397 <p> |
|
398 Private slot to handle the selection from the completion list. |
|
399 </p><p> |
|
400 Note: This works around an issue of some window managers taking |
|
401 focus away from the application when clicked inside a completion |
|
402 list but not giving it back when an item is selected via a |
|
403 double-click. |
|
404 </p><dl> |
|
405 <dt><i>id</i></dt> |
|
406 <dd> |
|
407 the ID of the user list (integer) |
|
408 </dd><dt><i>txt</i></dt> |
|
409 <dd> |
|
410 the selected text (string) |
|
411 </dd> |
382 </dl><a NAME="QsciScintillaCompat.__doSearchTarget" ID="QsciScintillaCompat.__doSearchTarget"></a> |
412 </dl><a NAME="QsciScintillaCompat.__doSearchTarget" ID="QsciScintillaCompat.__doSearchTarget"></a> |
383 <h4>QsciScintillaCompat.__doSearchTarget</h4> |
413 <h4>QsciScintillaCompat.__doSearchTarget</h4> |
384 <b>__doSearchTarget</b>(<i></i>) |
414 <b>__doSearchTarget</b>(<i></i>) |
385 <p> |
415 <p> |
386 Private method to perform the search in target. |
416 Private method to perform the search in target. |
387 </p><dl> |
417 </p><dl> |
388 <dt>Returns:</dt> |
418 <dt>Returns:</dt> |
389 <dd> |
419 <dd> |
390 flag indicating a successful search (boolean) |
420 flag indicating a successful search (boolean) |
|
421 </dd> |
|
422 </dl><a NAME="QsciScintillaCompat.__modificationChanged" ID="QsciScintillaCompat.__modificationChanged"></a> |
|
423 <h4>QsciScintillaCompat.__modificationChanged</h4> |
|
424 <b>__modificationChanged</b>(<i>m</i>) |
|
425 <p> |
|
426 Private slot to handle the modificationChanged signal. |
|
427 </p><dl> |
|
428 <dt><i>m</i></dt> |
|
429 <dd> |
|
430 modification status (boolean) |
391 </dd> |
431 </dd> |
392 </dl><a NAME="QsciScintillaCompat.__setFoldMarker" ID="QsciScintillaCompat.__setFoldMarker"></a> |
432 </dl><a NAME="QsciScintillaCompat.__setFoldMarker" ID="QsciScintillaCompat.__setFoldMarker"></a> |
393 <h4>QsciScintillaCompat.__setFoldMarker</h4> |
433 <h4>QsciScintillaCompat.__setFoldMarker</h4> |
394 <b>__setFoldMarker</b>(<i>marknr, mark=QsciScintilla.SC_MARK_EMPTY</i>) |
434 <b>__setFoldMarker</b>(<i>marknr, mark=QsciScintilla.SC_MARK_EMPTY</i>) |
395 <p> |
435 <p> |
1050 </dl><dl> |
1090 </dl><dl> |
1051 <dt>Returns:</dt> |
1091 <dt>Returns:</dt> |
1052 <dd> |
1092 <dd> |
1053 object containing the requested information |
1093 object containing the requested information |
1054 </dd> |
1094 </dd> |
|
1095 </dl><a NAME="QsciScintillaCompat.isModified" ID="QsciScintillaCompat.isModified"></a> |
|
1096 <h4>QsciScintillaCompat.isModified</h4> |
|
1097 <b>isModified</b>(<i></i>) |
|
1098 <p> |
|
1099 Public method to return the modification status. |
|
1100 </p><dl> |
|
1101 <dt>Returns:</dt> |
|
1102 <dd> |
|
1103 flag indicating the modification status (boolean) |
|
1104 </dd> |
1055 </dl><a NAME="QsciScintillaCompat.lineAt" ID="QsciScintillaCompat.lineAt"></a> |
1105 </dl><a NAME="QsciScintillaCompat.lineAt" ID="QsciScintillaCompat.lineAt"></a> |
1056 <h4>QsciScintillaCompat.lineAt</h4> |
1106 <h4>QsciScintillaCompat.lineAt</h4> |
1057 <b>lineAt</b>(<i>pos</i>) |
1107 <b>lineAt</b>(<i>pos</i>) |
1058 <p> |
1108 <p> |
1059 Public method to calculate the line at a position. |
1109 Public method to calculate the line at a position. |
1399 </p><dl> |
1449 </p><dl> |
1400 <dt><i>lex</i></dt> |
1450 <dt><i>lex</i></dt> |
1401 <dd> |
1451 <dd> |
1402 the lexer to be set or None to reset it. |
1452 the lexer to be set or None to reset it. |
1403 </dd> |
1453 </dd> |
|
1454 </dl><a NAME="QsciScintillaCompat.setModified" ID="QsciScintillaCompat.setModified"></a> |
|
1455 <h4>QsciScintillaCompat.setModified</h4> |
|
1456 <b>setModified</b>(<i>m</i>) |
|
1457 <p> |
|
1458 Public slot to set the modification status. |
|
1459 </p><dl> |
|
1460 <dt><i>m</i></dt> |
|
1461 <dd> |
|
1462 new modification status (boolean) |
|
1463 </dd> |
1404 </dl><a NAME="QsciScintillaCompat.setRectangularSelection" ID="QsciScintillaCompat.setRectangularSelection"></a> |
1464 </dl><a NAME="QsciScintillaCompat.setRectangularSelection" ID="QsciScintillaCompat.setRectangularSelection"></a> |
1405 <h4>QsciScintillaCompat.setRectangularSelection</h4> |
1465 <h4>QsciScintillaCompat.setRectangularSelection</h4> |
1406 <b>setRectangularSelection</b>(<i>startLine, startIndex, endLine, endIndex</i>) |
1466 <b>setRectangularSelection</b>(<i>startLine, startIndex, endLine, endIndex</i>) |
1407 <p> |
1467 <p> |
1408 Public method to set a rectangular selection. |
1468 Public method to set a rectangular selection. |
1474 </dd> |
1534 </dd> |
1475 </dl><a NAME="QsciScintillaCompat.showUserList" ID="QsciScintillaCompat.showUserList"></a> |
1535 </dl><a NAME="QsciScintillaCompat.showUserList" ID="QsciScintillaCompat.showUserList"></a> |
1476 <h4>QsciScintillaCompat.showUserList</h4> |
1536 <h4>QsciScintillaCompat.showUserList</h4> |
1477 <b>showUserList</b>(<i>id, lst</i>) |
1537 <b>showUserList</b>(<i>id, lst</i>) |
1478 <p> |
1538 <p> |
1479 Public method to show a user supplied list. |
1539 Public method to show a user supplied list. |
1480 </p><dl> |
1540 </p><dl> |
1481 <dt><i>id</i></dt> |
1541 <dt><i>id</i></dt> |
1482 <dd> |
1542 <dd> |
1483 id of the list (integer) |
1543 id of the list (integer) |
1484 </dd><dt><i>lst</i></dt> |
1544 </dd><dt><i>lst</i></dt> |