Documentation/Source/eric5.QScintilla.Lexers.LexerJava.html

Sun, 28 Feb 2010 17:27:35 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 28 Feb 2010 17:27:35 +0000
changeset 130
fcce4cc20d95
parent 58
37f0444c3479
child 167
7508e44f4853
permissions
-rw-r--r--

Added capability to change the keywords of a syntax highlighter.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>eric5.QScintilla.Lexers.LexerJava</title>
<style>
body {
    background:white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #4FA4FF; }
h2 { color: white; background: #4FA4FF; }
h3 { color: white; background: #00557F; }
h4 { color: white; background: #00557F; }
    
a { color: #AA5500; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric5.QScintilla.Lexers.LexerJava</h1>
<p>
Module implementing a Java lexer with some additional methods.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#LexerJava">LexerJava</a></td>
<td>Subclass to implement some additional lexer dependant methods.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="LexerJava" ID="LexerJava"></a>
<h2>LexerJava</h2>
<p>

</p><p>
    Subclass to implement some additional lexer dependant methods.
</p>
<h3>Derived from</h3>
QsciLexerJava, Lexer
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#LexerJava.__init__">LexerJava</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#LexerJava.defaultKeywords">defaultKeywords</a></td>
<td>Public method to get the default keywords.</td>
</tr><tr>
<td><a href="#LexerJava.initProperties">initProperties</a></td>
<td>Public slot to initialize the properties.</td>
</tr><tr>
<td><a href="#LexerJava.isCommentStyle">isCommentStyle</a></td>
<td>Public method to check, if a style is a comment style.</td>
</tr><tr>
<td><a href="#LexerJava.isStringStyle">isStringStyle</a></td>
<td>Public method to check, if a style is a string style.</td>
</tr>
</table>
<a NAME="LexerJava.__init__" ID="LexerJava.__init__"></a>
<h4>LexerJava (Constructor)</h4>
<b>LexerJava</b>(<i>parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>parent</i></dt>
<dd>
parent widget of this lexer
</dd>
</dl><a NAME="LexerJava.defaultKeywords" ID="LexerJava.defaultKeywords"></a>
<h4>LexerJava.defaultKeywords</h4>
<b>defaultKeywords</b>(<i>kwSet</i>)
<p>
        Public method to get the default keywords.
</p><dl>
<dt><i>kwSet</i></dt>
<dd>
number of the keyword set (integer)
</dd>
</dl><a NAME="LexerJava.initProperties" ID="LexerJava.initProperties"></a>
<h4>LexerJava.initProperties</h4>
<b>initProperties</b>(<i></i>)
<p>
        Public slot to initialize the properties.
</p><a NAME="LexerJava.isCommentStyle" ID="LexerJava.isCommentStyle"></a>
<h4>LexerJava.isCommentStyle</h4>
<b>isCommentStyle</b>(<i>style</i>)
<p>
        Public method to check, if a style is a comment style.
</p><dl>
<dt>Returns:</dt>
<dd>
flag indicating a comment style (boolean)
</dd>
</dl><a NAME="LexerJava.isStringStyle" ID="LexerJava.isStringStyle"></a>
<h4>LexerJava.isStringStyle</h4>
<b>isStringStyle</b>(<i>style</i>)
<p>
        Public method to check, if a style is a string style.
</p><dl>
<dt>Returns:</dt>
<dd>
flag indicating a string style (boolean)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial