|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric4.QScintilla.Lexers.LexerRuby</title> |
|
6 <style> |
|
7 body { |
|
8 background:white; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #4FA4FF; } |
|
14 h2 { color: white; background: #4FA4FF; } |
|
15 h3 { color: white; background: #00557F; } |
|
16 h4 { color: white; background: #00557F; } |
|
17 |
|
18 a { color: #AA5500; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric4.QScintilla.Lexers.LexerRuby</h1> |
|
24 <p> |
|
25 Module implementing a Ruby lexer with some additional methods. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#LexerRuby">LexerRuby</a></td> |
|
35 <td>Subclass to implement some additional lexer dependant methods.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="LexerRuby" ID="LexerRuby"></a> |
|
44 <h2>LexerRuby</h2> |
|
45 <p> |
|
46 |
|
47 </p><p> |
|
48 Subclass to implement some additional lexer dependant methods. |
|
49 </p> |
|
50 <h3>Derived from</h3> |
|
51 QsciLexerRuby, Lexer |
|
52 <h3>Class Attributes</h3> |
|
53 <table> |
|
54 <tr><td>None</td></tr> |
|
55 </table> |
|
56 <h3>Methods</h3> |
|
57 <table> |
|
58 <tr> |
|
59 <td><a href="#LexerRuby.__init__">LexerRuby</a></td> |
|
60 <td>Constructor</td> |
|
61 </tr><tr> |
|
62 <td><a href="#LexerRuby.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td> |
|
63 <td>Public method to return the list of separators for autocompletion.</td> |
|
64 </tr><tr> |
|
65 <td><a href="#LexerRuby.isCommentStyle">isCommentStyle</a></td> |
|
66 <td>Public method to check, if a style is a comment style.</td> |
|
67 </tr><tr> |
|
68 <td><a href="#LexerRuby.isStringStyle">isStringStyle</a></td> |
|
69 <td>Public method to check, if a style is a string style.</td> |
|
70 </tr> |
|
71 </table> |
|
72 <a NAME="LexerRuby.__init__" ID="LexerRuby.__init__"></a> |
|
73 <h4>LexerRuby (Constructor)</h4> |
|
74 <b>LexerRuby</b>(<i>parent=None</i>) |
|
75 <p> |
|
76 Constructor |
|
77 </p><dl> |
|
78 <dt><i>parent</i></dt> |
|
79 <dd> |
|
80 parent widget of this lexer |
|
81 </dd> |
|
82 </dl><a NAME="LexerRuby.autoCompletionWordSeparators" ID="LexerRuby.autoCompletionWordSeparators"></a> |
|
83 <h4>LexerRuby.autoCompletionWordSeparators</h4> |
|
84 <b>autoCompletionWordSeparators</b>(<i></i>) |
|
85 <p> |
|
86 Public method to return the list of separators for autocompletion. |
|
87 </p><dl> |
|
88 <dt>Returns:</dt> |
|
89 <dd> |
|
90 list of separators (list of strings) |
|
91 </dd> |
|
92 </dl><a NAME="LexerRuby.isCommentStyle" ID="LexerRuby.isCommentStyle"></a> |
|
93 <h4>LexerRuby.isCommentStyle</h4> |
|
94 <b>isCommentStyle</b>(<i>style</i>) |
|
95 <p> |
|
96 Public method to check, if a style is a comment style. |
|
97 </p><dl> |
|
98 <dt>Returns:</dt> |
|
99 <dd> |
|
100 flag indicating a comment style (boolean) |
|
101 </dd> |
|
102 </dl><a NAME="LexerRuby.isStringStyle" ID="LexerRuby.isStringStyle"></a> |
|
103 <h4>LexerRuby.isStringStyle</h4> |
|
104 <b>isStringStyle</b>(<i>style</i>) |
|
105 <p> |
|
106 Public method to check, if a style is a string style. |
|
107 </p><dl> |
|
108 <dt>Returns:</dt> |
|
109 <dd> |
|
110 flag indicating a string style (boolean) |
|
111 </dd> |
|
112 </dl> |
|
113 <div align="right"><a href="#top">Up</a></div> |
|
114 <hr /> |
|
115 </body></html> |