Documentation/Source/eric5.QScintilla.Editor.html

branch
5_1_x
changeset 1344
54c50e65173f
parent 1278
fb0460fd00b9
equal deleted inserted replaced
1340:142ad6decc3a 1344:54c50e65173f
2432 <dd> 2432 <dd>
2433 line number of the highlight bar (integer) 2433 line number of the highlight bar (integer)
2434 </dd> 2434 </dd>
2435 </dl><a NAME="Editor.getLanguage" ID="Editor.getLanguage"></a> 2435 </dl><a NAME="Editor.getLanguage" ID="Editor.getLanguage"></a>
2436 <h4>Editor.getLanguage</h4> 2436 <h4>Editor.getLanguage</h4>
2437 <b>getLanguage</b>(<i>normalized = True</i>) 2437 <b>getLanguage</b>(<i>normalized=True, forPygments=False</i>)
2438 <p> 2438 <p>
2439 Public method to retrieve the language of the editor. 2439 Public method to retrieve the language of the editor.
2440 </p><dl> 2440 </p><dl>
2441 <dt><i>normalized=</i></dt> 2441 <dt><i>normalized=</i></dt>
2442 <dd> 2442 <dd>
2443 flag indicating to normalize some Pygments 2443 flag indicating to normalize some Pygments
2444 lexer names (boolean) 2444 lexer names (boolean)
2445 </dd><dt><i>forPygments=</i></dt>
2446 <dd>
2447 flag indicating to normalize some lexer
2448 names for Pygments (boolean)
2445 </dd> 2449 </dd>
2446 </dl><dl> 2450 </dl><dl>
2447 <dt>Returns:</dt> 2451 <dt>Returns:</dt>
2448 <dd> 2452 <dd>
2449 language of the editor (string) 2453 language of the editor (string)

eric ide

mercurial