858 <td>Public method to set the automatic spell checking.</td> |
858 <td>Public method to set the automatic spell checking.</td> |
859 </tr><tr> |
859 </tr><tr> |
860 <td><a href="#Editor.setCallTipHook">setCallTipHook</a></td> |
860 <td><a href="#Editor.setCallTipHook">setCallTipHook</a></td> |
861 <td>Public method to set a calltip hook.</td> |
861 <td>Public method to set a calltip hook.</td> |
862 </tr><tr> |
862 </tr><tr> |
863 <td><a href="#Editor.setEolModeByEolString">setEolModeByEolString</a></td> |
|
864 <td>Public method to set the eol mode given the eol string.</td> |
|
865 </tr><tr> |
|
866 <td><a href="#Editor.setLanguage">setLanguage</a></td> |
863 <td><a href="#Editor.setLanguage">setLanguage</a></td> |
867 <td>Public method to set a lexer language.</td> |
864 <td>Public method to set a lexer language.</td> |
868 </tr><tr> |
865 </tr><tr> |
869 <td><a href="#Editor.setMonospaced">setMonospaced</a></td> |
866 <td><a href="#Editor.setMonospaced">setMonospaced</a></td> |
870 <td>Public method to set/reset a monospaced font.</td> |
867 <td>Public method to set/reset a monospaced font.</td> |
2930 tuple of two values (boolean, string) giving a success indicator and |
2927 tuple of two values (boolean, string) giving a success indicator and |
2931 the name of the saved file |
2928 the name of the saved file |
2932 </dd> |
2929 </dd> |
2933 </dl><a NAME="Editor.saveFileAs" ID="Editor.saveFileAs"></a> |
2930 </dl><a NAME="Editor.saveFileAs" ID="Editor.saveFileAs"></a> |
2934 <h4>Editor.saveFileAs</h4> |
2931 <h4>Editor.saveFileAs</h4> |
2935 <b>saveFileAs</b>(<i>path = None</i>) |
2932 <b>saveFileAs</b>(<i>path = None, toProject = False</i>) |
2936 <p> |
2933 <p> |
2937 Public slot to save a file with a new name. |
2934 Public slot to save a file with a new name. |
2938 </p><dl> |
2935 </p><dl> |
2939 <dt><i>path</i></dt> |
2936 <dt><i>path</i></dt> |
2940 <dd> |
2937 <dd> |
2941 directory to save the file in (string) |
2938 directory to save the file in (string) |
|
2939 </dd><dt><i>toProject=</i></dt> |
|
2940 <dd> |
|
2941 flag indicating a save to project operation (boolean) |
2942 </dd> |
2942 </dd> |
2943 </dl><dl> |
2943 </dl><dl> |
2944 <dt>Returns:</dt> |
2944 <dt>Returns:</dt> |
2945 <dd> |
2945 <dd> |
2946 tuple of two values (boolean, string) giving a success indicator and |
2946 tuple of two values (boolean, string) giving a success indicator and |
3009 should be a function taking a reference to the editor, |
3009 should be a function taking a reference to the editor, |
3010 a position into the text and the amount of commas to the |
3010 a position into the text and the amount of commas to the |
3011 left of the cursor. It should return the possible |
3011 left of the cursor. It should return the possible |
3012 calltips as a list of strings. |
3012 calltips as a list of strings. |
3013 </dd> |
3013 </dd> |
3014 </dl><a NAME="Editor.setEolModeByEolString" ID="Editor.setEolModeByEolString"></a> |
|
3015 <h4>Editor.setEolModeByEolString</h4> |
|
3016 <b>setEolModeByEolString</b>(<i>eolStr</i>) |
|
3017 <p> |
|
3018 Public method to set the eol mode given the eol string. |
|
3019 </p><dl> |
|
3020 <dt><i>eolStr</i></dt> |
|
3021 <dd> |
|
3022 eol string (string) |
|
3023 </dd> |
|
3024 </dl><a NAME="Editor.setLanguage" ID="Editor.setLanguage"></a> |
3014 </dl><a NAME="Editor.setLanguage" ID="Editor.setLanguage"></a> |
3025 <h4>Editor.setLanguage</h4> |
3015 <h4>Editor.setLanguage</h4> |
3026 <b>setLanguage</b>(<i>filename, initTextDisplay = True, propagate = True, pyname = ""</i>) |
3016 <b>setLanguage</b>(<i>filename, initTextDisplay = True, propagate = True, pyname = ""</i>) |
3027 <p> |
3017 <p> |
3028 Public method to set a lexer language. |
3018 Public method to set a lexer language. |