444 <tr> |
444 <tr> |
445 <td><a href="#MiniEditor.highlightSearchSelection">highlightSearchSelection</a></td> |
445 <td><a href="#MiniEditor.highlightSearchSelection">highlightSearchSelection</a></td> |
446 <td>Public method to set a highlight for the selection at the start of a search.</td> |
446 <td>Public method to set a highlight for the selection at the start of a search.</td> |
447 </tr> |
447 </tr> |
448 <tr> |
448 <tr> |
|
449 <td><a href="#MiniEditor.setFileName">setFileName</a></td> |
|
450 <td>Public method to set the file name of the file being displayed.</td> |
|
451 </tr> |
|
452 <tr> |
449 <td><a href="#MiniEditor.setLanguage">setLanguage</a></td> |
453 <td><a href="#MiniEditor.setLanguage">setLanguage</a></td> |
450 <td>Public method to set a lexer language.</td> |
454 <td>Public method to set a lexer language.</td> |
|
455 </tr> |
|
456 <tr> |
|
457 <td><a href="#MiniEditor.setModified">setModified</a></td> |
|
458 <td>Public method to set the editor modification state.</td> |
451 </tr> |
459 </tr> |
452 <tr> |
460 <tr> |
453 <td><a href="#MiniEditor.setSearchIndicator">setSearchIndicator</a></td> |
461 <td><a href="#MiniEditor.setSearchIndicator">setSearchIndicator</a></td> |
454 <td>Public method to set a search indicator for the given range.</td> |
462 <td>Public method to set a search indicator for the given range.</td> |
455 </tr> |
463 </tr> |
1653 <dt><i>endIndex</i> (int)</dt> |
1661 <dt><i>endIndex</i> (int)</dt> |
1654 <dd> |
1662 <dd> |
1655 index of the selection end |
1663 index of the selection end |
1656 </dd> |
1664 </dd> |
1657 </dl> |
1665 </dl> |
|
1666 <a NAME="MiniEditor.setFileName" ID="MiniEditor.setFileName"></a> |
|
1667 <h4>MiniEditor.setFileName</h4> |
|
1668 <b>setFileName</b>(<i>name</i>) |
|
1669 <p> |
|
1670 Public method to set the file name of the file being displayed. |
|
1671 </p> |
|
1672 |
|
1673 <dl> |
|
1674 |
|
1675 <dt><i>name</i> (str)</dt> |
|
1676 <dd> |
|
1677 name of the displayed file |
|
1678 </dd> |
|
1679 </dl> |
1658 <a NAME="MiniEditor.setLanguage" ID="MiniEditor.setLanguage"></a> |
1680 <a NAME="MiniEditor.setLanguage" ID="MiniEditor.setLanguage"></a> |
1659 <h4>MiniEditor.setLanguage</h4> |
1681 <h4>MiniEditor.setLanguage</h4> |
1660 <b>setLanguage</b>(<i>filename, initTextDisplay=True, pyname=""</i>) |
1682 <b>setLanguage</b>(<i>filename, initTextDisplay=True, pyname=""</i>) |
1661 <p> |
1683 <p> |
1662 Public method to set a lexer language. |
1684 Public method to set a lexer language. |
1675 display is required as well |
1697 display is required as well |
1676 </dd> |
1698 </dd> |
1677 <dt><i>pyname</i> (str)</dt> |
1699 <dt><i>pyname</i> (str)</dt> |
1678 <dd> |
1700 <dd> |
1679 name of the pygments lexer to use |
1701 name of the pygments lexer to use |
|
1702 </dd> |
|
1703 </dl> |
|
1704 <a NAME="MiniEditor.setModified" ID="MiniEditor.setModified"></a> |
|
1705 <h4>MiniEditor.setModified</h4> |
|
1706 <b>setModified</b>(<i>modified</i>) |
|
1707 <p> |
|
1708 Public method to set the editor modification state. |
|
1709 </p> |
|
1710 |
|
1711 <dl> |
|
1712 |
|
1713 <dt><i>modified</i> (bool)</dt> |
|
1714 <dd> |
|
1715 new editor modification state |
1680 </dd> |
1716 </dd> |
1681 </dl> |
1717 </dl> |
1682 <a NAME="MiniEditor.setSearchIndicator" ID="MiniEditor.setSearchIndicator"></a> |
1718 <a NAME="MiniEditor.setSearchIndicator" ID="MiniEditor.setSearchIndicator"></a> |
1683 <h4>MiniEditor.setSearchIndicator</h4> |
1719 <h4>MiniEditor.setSearchIndicator</h4> |
1684 <b>setSearchIndicator</b>(<i>startPos, indicLength</i>) |
1720 <b>setSearchIndicator</b>(<i>startPos, indicLength</i>) |