src/eric7/Documentation/Source/eric7.QScintilla.Editor.html

branch
eric7
changeset 10070
9f5758c0fec1
parent 9977
a5acf678c367
child 10189
1ab3a4674cb4
equal deleted inserted replaced
10069:435cc5875135 10070:9f5758c0fec1
550 <td><a href="#Editor.__loadEditorConfigObject">__loadEditorConfigObject</a></td> 550 <td><a href="#Editor.__loadEditorConfigObject">__loadEditorConfigObject</a></td>
551 <td>Private method to load the EditorConfig properties for the given file name.</td> 551 <td>Private method to load the EditorConfig properties for the given file name.</td>
552 </tr> 552 </tr>
553 <tr> 553 <tr>
554 <td><a href="#Editor.__marginClicked">__marginClicked</a></td> 554 <td><a href="#Editor.__marginClicked">__marginClicked</a></td>
555 <td>Private slot to handle the marginClicked signal.</td> 555 <td></td>
556 </tr> 556 </tr>
557 <tr> 557 <tr>
558 <td><a href="#Editor.__marginNumber">__marginNumber</a></td> 558 <td><a href="#Editor.__marginNumber">__marginNumber</a></td>
559 <td>Private method to calculate the margin number based on a x position.</td> 559 <td>Private method to calculate the margin number based on a x position.</td>
560 </tr> 560 </tr>
1358 <td><a href="#Editor.hasWarnings">hasWarnings</a></td> 1358 <td><a href="#Editor.hasWarnings">hasWarnings</a></td>
1359 <td>Public method to check for the presence of warnings.</td> 1359 <td>Public method to check for the presence of warnings.</td>
1360 </tr> 1360 </tr>
1361 <tr> 1361 <tr>
1362 <td><a href="#Editor.highlight">highlight</a></td> 1362 <td><a href="#Editor.highlight">highlight</a></td>
1363 <td>Public method to highlight [or de-highlight] a particular line.</td> 1363 <td></td>
1364 </tr> 1364 </tr>
1365 <tr> 1365 <tr>
1366 <td><a href="#Editor.highlightSearchSelection">highlightSearchSelection</a></td> 1366 <td><a href="#Editor.highlightSearchSelection">highlightSearchSelection</a></td>
1367 <td>Public method to set a highlight for the selection at the start of a search.</td> 1367 <td>Public method to set a highlight for the selection at the start of a search.</td>
1368 </tr> 1368 </tr>
2329 <p> 2329 <p>
2330 Private slot to convert tabulators to spaces. 2330 Private slot to convert tabulators to spaces.
2331 </p> 2331 </p>
2332 <a NAME="Editor.__createChangeMarkerPixmap" ID="Editor.__createChangeMarkerPixmap"></a> 2332 <a NAME="Editor.__createChangeMarkerPixmap" ID="Editor.__createChangeMarkerPixmap"></a>
2333 <h4>Editor.__createChangeMarkerPixmap</h4> 2333 <h4>Editor.__createChangeMarkerPixmap</h4>
2334 <b>__createChangeMarkerPixmap</b>(<i>key, size=16, width=4</i>) 2334 <b>__createChangeMarkerPixmap</b>(<i>key, size=16</i>)
2335 2335
2336 <p> 2336 <p>
2337 Private method to create a pixmap for the change markers. 2337 Private method to create a pixmap for the change markers.
2338 </p> 2338 </p>
2339 <dl> 2339 <dl>
2343 key of the color to use (string) 2343 key of the color to use (string)
2344 </dd> 2344 </dd>
2345 <dt><i>size</i></dt> 2345 <dt><i>size</i></dt>
2346 <dd> 2346 <dd>
2347 size of the pixmap (integer) 2347 size of the pixmap (integer)
2348 </dd>
2349 <dt><i>width</i></dt>
2350 <dd>
2351 width of the marker line (integer)
2352 </dd> 2348 </dd>
2353 </dl> 2349 </dl>
2354 <dl> 2350 <dl>
2355 <dt>Return:</dt> 2351 <dt>Return:</dt>
2356 <dd> 2352 <dd>
3140 </dl> 3136 </dl>
3141 <a NAME="Editor.__marginClicked" ID="Editor.__marginClicked"></a> 3137 <a NAME="Editor.__marginClicked" ID="Editor.__marginClicked"></a>
3142 <h4>Editor.__marginClicked</h4> 3138 <h4>Editor.__marginClicked</h4>
3143 <b>__marginClicked</b>(<i>margin, line, modifiers</i>) 3139 <b>__marginClicked</b>(<i>margin, line, modifiers</i>)
3144 3140
3145 <p>
3146 Private slot to handle the marginClicked signal.
3147 </p>
3148 <dl>
3149
3150 <dt><i>margin</i></dt>
3151 <dd>
3152 id of the clicked margin (integer)
3153 </dd>
3154 <dt><i>line</i></dt>
3155 <dd>
3156 line number of the click (integer)
3157 </dd>
3158 <dt><i>modifiers</i></dt>
3159 <dd>
3160 keyboard modifiers (Qt.KeyboardModifiers)
3161 </dd>
3162 </dl>
3163 <a NAME="Editor.__marginNumber" ID="Editor.__marginNumber"></a> 3141 <a NAME="Editor.__marginNumber" ID="Editor.__marginNumber"></a>
3164 <h4>Editor.__marginNumber</h4> 3142 <h4>Editor.__marginNumber</h4>
3165 <b>__marginNumber</b>(<i>xPos</i>) 3143 <b>__marginNumber</b>(<i>xPos</i>)
3166 3144
3167 <p> 3145 <p>
4578 <p> 4556 <p>
4579 Public slot to clear all warnings. 4557 Public slot to clear all warnings.
4580 </p> 4558 </p>
4581 <a NAME="Editor.close" ID="Editor.close"></a> 4559 <a NAME="Editor.close" ID="Editor.close"></a>
4582 <h4>Editor.close</h4> 4560 <h4>Editor.close</h4>
4583 <b>close</b>(<i>alsoDelete=False</i>) 4561 <b>close</b>(<i></i>)
4584 4562
4585 <p> 4563 <p>
4586 Public method called when the window gets closed. 4564 Public method called when the window gets closed.
4587 </p> 4565 </p>
4588 <p> 4566 <p>
4589 This overwritten method redirects the action to our 4567 This overwritten method redirects the action to our
4590 ViewManager.closeEditor, which in turn calls our closeIt 4568 ViewManager.closeEditor, which in turn calls our closeIt
4591 method. 4569 method.
4592 </p> 4570 </p>
4593 <dl>
4594
4595 <dt><i>alsoDelete</i></dt>
4596 <dd>
4597 ignored
4598 </dd>
4599 </dl>
4600 <dl> 4571 <dl>
4601 <dt>Return:</dt> 4572 <dt>Return:</dt>
4602 <dd> 4573 <dd>
4603 flag indicating a successful close of the editor (boolean) 4574 flag indicating a successful close of the editor (boolean)
4604 </dd> 4575 </dd>
5860 </dl> 5831 </dl>
5861 <a NAME="Editor.highlight" ID="Editor.highlight"></a> 5832 <a NAME="Editor.highlight" ID="Editor.highlight"></a>
5862 <h4>Editor.highlight</h4> 5833 <h4>Editor.highlight</h4>
5863 <b>highlight</b>(<i>line=None, error=False, syntaxError=False</i>) 5834 <b>highlight</b>(<i>line=None, error=False, syntaxError=False</i>)
5864 5835
5865 <p>
5866 Public method to highlight [or de-highlight] a particular line.
5867 </p>
5868 <dl>
5869
5870 <dt><i>line</i></dt>
5871 <dd>
5872 line number to highlight (integer)
5873 </dd>
5874 <dt><i>error</i></dt>
5875 <dd>
5876 flag indicating whether the error highlight should be
5877 used (boolean)
5878 </dd>
5879 <dt><i>syntaxError</i></dt>
5880 <dd>
5881 flag indicating a syntax error (boolean)
5882 </dd>
5883 </dl>
5884 <a NAME="Editor.highlightSearchSelection" ID="Editor.highlightSearchSelection"></a> 5836 <a NAME="Editor.highlightSearchSelection" ID="Editor.highlightSearchSelection"></a>
5885 <h4>Editor.highlightSearchSelection</h4> 5837 <h4>Editor.highlightSearchSelection</h4>
5886 <b>highlightSearchSelection</b>(<i>startLine, startIndex, endLine, endIndex</i>) 5838 <b>highlightSearchSelection</b>(<i>startLine, startIndex, endLine, endIndex</i>)
5887 5839
5888 <p> 5840 <p>
6656 flag indicating success (boolean) 6608 flag indicating success (boolean)
6657 </dd> 6609 </dd>
6658 </dl> 6610 </dl>
6659 <a NAME="Editor.saveFileAs" ID="Editor.saveFileAs"></a> 6611 <a NAME="Editor.saveFileAs" ID="Editor.saveFileAs"></a>
6660 <h4>Editor.saveFileAs</h4> 6612 <h4>Editor.saveFileAs</h4>
6661 <b>saveFileAs</b>(<i>path=None, toProject=False</i>) 6613 <b>saveFileAs</b>(<i>path=None</i>)
6662 6614
6663 <p> 6615 <p>
6664 Public slot to save a file with a new name. 6616 Public slot to save a file with a new name.
6665 </p> 6617 </p>
6666 <dl> 6618 <dl>
6667 6619
6668 <dt><i>path</i></dt> 6620 <dt><i>path</i></dt>
6669 <dd> 6621 <dd>
6670 directory to save the file in (string) 6622 directory to save the file in (string)
6671 </dd>
6672 <dt><i>toProject</i></dt>
6673 <dd>
6674 flag indicating a save to project operation
6675 (boolean)
6676 </dd> 6623 </dd>
6677 </dl> 6624 </dl>
6678 <dl> 6625 <dl>
6679 <dt>Return:</dt> 6626 <dt>Return:</dt>
6680 <dd> 6627 <dd>

eric ide

mercurial