20 </style> |
20 </style> |
21 </head> |
21 </head> |
22 <body><a NAME="top" ID="top"></a> |
22 <body><a NAME="top" ID="top"></a> |
23 <h1>eric5.QScintilla.Lexers.LexerRuby</h1> |
23 <h1>eric5.QScintilla.Lexers.LexerRuby</h1> |
24 <p> |
24 <p> |
25 Module implementing a Ruby lexer with some additional methods. |
25 Module implementing a Ruby lexer with some additional methods. |
26 </p> |
26 </p> |
27 <h3>Global Attributes</h3> |
27 <h3>Global Attributes</h3> |
28 <table> |
28 <table> |
29 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
30 </table> |
30 </table> |
31 <h3>Classes</h3> |
31 <h3>Classes</h3> |
32 <table> |
32 <table> |
33 <tr> |
33 <tr> |
34 <td><a href="#LexerRuby">LexerRuby</a></td> |
34 <td><a href="#LexerRuby">LexerRuby</a></td> |
35 <td>Subclass to implement some additional lexer dependant methods.</td> |
35 <td>Subclass to implement some additional lexer dependant methods.</td> |
36 </tr> |
36 </tr> |
37 </table> |
37 </table> |
38 <h3>Functions</h3> |
38 <h3>Functions</h3> |
39 <table> |
39 <table> |
40 <tr><td>None</td></tr> |
40 <tr><td>None</td></tr> |
55 </table> |
55 </table> |
56 <h3>Methods</h3> |
56 <h3>Methods</h3> |
57 <table> |
57 <table> |
58 <tr> |
58 <tr> |
59 <td><a href="#LexerRuby.__init__">LexerRuby</a></td> |
59 <td><a href="#LexerRuby.__init__">LexerRuby</a></td> |
60 <td>Constructor</td> |
60 <td>Constructor</td> |
61 </tr><tr> |
61 </tr><tr> |
62 <td><a href="#LexerRuby.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td> |
62 <td><a href="#LexerRuby.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td> |
63 <td>Public method to return the list of separators for autocompletion.</td> |
63 <td>Public method to return the list of separators for autocompletion.</td> |
64 </tr><tr> |
64 </tr><tr> |
65 <td><a href="#LexerRuby.isCommentStyle">isCommentStyle</a></td> |
65 <td><a href="#LexerRuby.isCommentStyle">isCommentStyle</a></td> |
66 <td>Public method to check, if a style is a comment style.</td> |
66 <td>Public method to check, if a style is a comment style.</td> |
67 </tr><tr> |
67 </tr><tr> |
68 <td><a href="#LexerRuby.isStringStyle">isStringStyle</a></td> |
68 <td><a href="#LexerRuby.isStringStyle">isStringStyle</a></td> |
69 <td>Public method to check, if a style is a string style.</td> |
69 <td>Public method to check, if a style is a string style.</td> |
70 </tr> |
70 </tr> |
71 </table> |
71 </table> |
72 <a NAME="LexerRuby.__init__" ID="LexerRuby.__init__"></a> |
72 <a NAME="LexerRuby.__init__" ID="LexerRuby.__init__"></a> |
73 <h4>LexerRuby (Constructor)</h4> |
73 <h4>LexerRuby (Constructor)</h4> |
74 <b>LexerRuby</b>(<i>parent=None</i>) |
74 <b>LexerRuby</b>(<i>parent=None</i>) |
75 <p> |
75 <p> |
76 Constructor |
76 Constructor |
77 </p><dl> |
77 </p><dl> |
78 <dt><i>parent</i></dt> |
78 <dt><i>parent</i></dt> |
79 <dd> |
79 <dd> |
80 parent widget of this lexer |
80 parent widget of this lexer |
81 </dd> |
81 </dd> |
82 </dl><a NAME="LexerRuby.autoCompletionWordSeparators" ID="LexerRuby.autoCompletionWordSeparators"></a> |
82 </dl><a NAME="LexerRuby.autoCompletionWordSeparators" ID="LexerRuby.autoCompletionWordSeparators"></a> |
83 <h4>LexerRuby.autoCompletionWordSeparators</h4> |
83 <h4>LexerRuby.autoCompletionWordSeparators</h4> |
84 <b>autoCompletionWordSeparators</b>(<i></i>) |
84 <b>autoCompletionWordSeparators</b>(<i></i>) |
85 <p> |
85 <p> |
86 Public method to return the list of separators for autocompletion. |
86 Public method to return the list of separators for autocompletion. |
87 </p><dl> |
87 </p><dl> |
88 <dt>Returns:</dt> |
88 <dt>Returns:</dt> |
89 <dd> |
89 <dd> |
90 list of separators (list of strings) |
90 list of separators (list of strings) |
91 </dd> |
91 </dd> |
92 </dl><a NAME="LexerRuby.isCommentStyle" ID="LexerRuby.isCommentStyle"></a> |
92 </dl><a NAME="LexerRuby.isCommentStyle" ID="LexerRuby.isCommentStyle"></a> |
93 <h4>LexerRuby.isCommentStyle</h4> |
93 <h4>LexerRuby.isCommentStyle</h4> |
94 <b>isCommentStyle</b>(<i>style</i>) |
94 <b>isCommentStyle</b>(<i>style</i>) |
95 <p> |
95 <p> |
96 Public method to check, if a style is a comment style. |
96 Public method to check, if a style is a comment style. |
97 </p><dl> |
97 </p><dl> |
98 <dt>Returns:</dt> |
98 <dt>Returns:</dt> |
99 <dd> |
99 <dd> |
100 flag indicating a comment style (boolean) |
100 flag indicating a comment style (boolean) |
101 </dd> |
101 </dd> |
102 </dl><a NAME="LexerRuby.isStringStyle" ID="LexerRuby.isStringStyle"></a> |
102 </dl><a NAME="LexerRuby.isStringStyle" ID="LexerRuby.isStringStyle"></a> |
103 <h4>LexerRuby.isStringStyle</h4> |
103 <h4>LexerRuby.isStringStyle</h4> |
104 <b>isStringStyle</b>(<i>style</i>) |
104 <b>isStringStyle</b>(<i>style</i>) |
105 <p> |
105 <p> |
106 Public method to check, if a style is a string style. |
106 Public method to check, if a style is a string style. |
107 </p><dl> |
107 </p><dl> |
108 <dt>Returns:</dt> |
108 <dt>Returns:</dt> |
109 <dd> |
109 <dd> |
110 flag indicating a string style (boolean) |
110 flag indicating a string style (boolean) |
111 </dd> |
111 </dd> |
112 </dl> |
112 </dl> |
113 <div align="right"><a href="#top">Up</a></div> |
113 <div align="right"><a href="#top">Up</a></div> |
114 <hr /> |
114 <hr /> |
115 </body></html> |
115 </body></html> |