53 </table> |
53 </table> |
54 <h3>Methods</h3> |
54 <h3>Methods</h3> |
55 <table> |
55 <table> |
56 <tr> |
56 <tr> |
57 <td><a href="#CompleterRuby.__init__">CompleterRuby</a></td> |
57 <td><a href="#CompleterRuby.__init__">CompleterRuby</a></td> |
58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#CompleterRuby.__inComment">__inComment</a></td> |
60 <td><a href="#CompleterRuby.__inComment">__inComment</a></td> |
61 <td>Private method to check, if the cursor is inside a comment</td> |
61 <td>Private method to check, if the cursor is inside a comment</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#CompleterRuby.__inDoubleQuotedString">__inDoubleQuotedString</a></td> |
63 <td><a href="#CompleterRuby.__inDoubleQuotedString">__inDoubleQuotedString</a></td> |
64 <td>Private method to check, if the cursor is within a double quoted string.</td> |
64 <td>Private method to check, if the cursor is within a double quoted string.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#CompleterRuby.__inHereDocument">__inHereDocument</a></td> |
66 <td><a href="#CompleterRuby.__inHereDocument">__inHereDocument</a></td> |
67 <td>Private method to check, if the cursor is within a here document.</td> |
67 <td>Private method to check, if the cursor is within a here document.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#CompleterRuby.__inInlineDocument">__inInlineDocument</a></td> |
69 <td><a href="#CompleterRuby.__inInlineDocument">__inInlineDocument</a></td> |
70 <td>Private method to check, if the cursor is within an inline document.</td> |
70 <td>Private method to check, if the cursor is within an inline document.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#CompleterRuby.__inSingleQuotedString">__inSingleQuotedString</a></td> |
72 <td><a href="#CompleterRuby.__inSingleQuotedString">__inSingleQuotedString</a></td> |
73 <td>Private method to check, if the cursor is within a single quoted string.</td> |
73 <td>Private method to check, if the cursor is within a single quoted string.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#CompleterRuby.charAdded">charAdded</a></td> |
75 <td><a href="#CompleterRuby.charAdded">charAdded</a></td> |
76 <td>Public slot called to handle the user entering a character.</td> |
76 <td>Public slot called to handle the user entering a character.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#CompleterRuby.readSettings">readSettings</a></td> |
78 <td><a href="#CompleterRuby.readSettings">readSettings</a></td> |
79 <td>Public slot called to reread the configuration parameters.</td> |
79 <td>Public slot called to reread the configuration parameters.</td> |
80 </tr> |
80 </tr> |
81 </table> |
81 </table> |
82 <a NAME="CompleterRuby.__init__" ID="CompleterRuby.__init__"></a> |
82 <a NAME="CompleterRuby.__init__" ID="CompleterRuby.__init__"></a> |
83 <h4>CompleterRuby (Constructor)</h4> |
83 <h4>CompleterRuby (Constructor)</h4> |
84 <b>CompleterRuby</b>(<i>editor, parent = None</i>) |
84 <b>CompleterRuby</b>(<i>editor, parent = None</i>) |
85 <p> |
85 <p> |
86 Constructor |
86 Constructor |
87 </p><dl> |
87 </p><dl> |
88 <dt><i>editor</i></dt> |
88 <dt><i>editor</i></dt> |
89 <dd> |
89 <dd> |
90 reference to the editor object (QScintilla.Editor) |
90 reference to the editor object (QScintilla.Editor) |
91 </dd><dt><i>parent</i></dt> |
91 </dd><dt><i>parent</i></dt> |
92 <dd> |
92 <dd> |
93 reference to the parent object (QObject) |
93 reference to the parent object (QObject) |
94 </dd> |
94 </dd> |
95 </dl><a NAME="CompleterRuby.__inComment" ID="CompleterRuby.__inComment"></a> |
95 </dl><a NAME="CompleterRuby.__inComment" ID="CompleterRuby.__inComment"></a> |
96 <h4>CompleterRuby.__inComment</h4> |
96 <h4>CompleterRuby.__inComment</h4> |
97 <b>__inComment</b>(<i>line, col</i>) |
97 <b>__inComment</b>(<i>line, col</i>) |
98 <p> |
98 <p> |
99 Private method to check, if the cursor is inside a comment |
99 Private method to check, if the cursor is inside a comment |
100 </p><dl> |
100 </p><dl> |
101 <dt><i>line</i></dt> |
101 <dt><i>line</i></dt> |
102 <dd> |
102 <dd> |
103 current line (integer) |
103 current line (integer) |
104 </dd><dt><i>col</i></dt> |
104 </dd><dt><i>col</i></dt> |
105 <dd> |
105 <dd> |
106 current position within line (integer) |
106 current position within line (integer) |
107 </dd> |
107 </dd> |
108 </dl><dl> |
108 </dl><dl> |
109 <dt>Returns:</dt> |
109 <dt>Returns:</dt> |
110 <dd> |
110 <dd> |
111 flag indicating, if the cursor is inside a comment (boolean) |
111 flag indicating, if the cursor is inside a comment (boolean) |
112 </dd> |
112 </dd> |
113 </dl><a NAME="CompleterRuby.__inDoubleQuotedString" ID="CompleterRuby.__inDoubleQuotedString"></a> |
113 </dl><a NAME="CompleterRuby.__inDoubleQuotedString" ID="CompleterRuby.__inDoubleQuotedString"></a> |
114 <h4>CompleterRuby.__inDoubleQuotedString</h4> |
114 <h4>CompleterRuby.__inDoubleQuotedString</h4> |
115 <b>__inDoubleQuotedString</b>(<i></i>) |
115 <b>__inDoubleQuotedString</b>(<i></i>) |
116 <p> |
116 <p> |
117 Private method to check, if the cursor is within a double quoted string. |
117 Private method to check, if the cursor is within a double quoted string. |
118 </p><dl> |
118 </p><dl> |
119 <dt>Returns:</dt> |
119 <dt>Returns:</dt> |
120 <dd> |
120 <dd> |
121 flag indicating, if the cursor is inside a double |
121 flag indicating, if the cursor is inside a double |
122 quoted string (boolean) |
122 quoted string (boolean) |
123 </dd> |
123 </dd> |
124 </dl><a NAME="CompleterRuby.__inHereDocument" ID="CompleterRuby.__inHereDocument"></a> |
124 </dl><a NAME="CompleterRuby.__inHereDocument" ID="CompleterRuby.__inHereDocument"></a> |
125 <h4>CompleterRuby.__inHereDocument</h4> |
125 <h4>CompleterRuby.__inHereDocument</h4> |
126 <b>__inHereDocument</b>(<i></i>) |
126 <b>__inHereDocument</b>(<i></i>) |
127 <p> |
127 <p> |
128 Private method to check, if the cursor is within a here document. |
128 Private method to check, if the cursor is within a here document. |
129 </p><dl> |
129 </p><dl> |
130 <dt>Returns:</dt> |
130 <dt>Returns:</dt> |
131 <dd> |
131 <dd> |
132 flag indicating, if the cursor is inside a here document (boolean) |
132 flag indicating, if the cursor is inside a here document (boolean) |
133 </dd> |
133 </dd> |
134 </dl><a NAME="CompleterRuby.__inInlineDocument" ID="CompleterRuby.__inInlineDocument"></a> |
134 </dl><a NAME="CompleterRuby.__inInlineDocument" ID="CompleterRuby.__inInlineDocument"></a> |
135 <h4>CompleterRuby.__inInlineDocument</h4> |
135 <h4>CompleterRuby.__inInlineDocument</h4> |
136 <b>__inInlineDocument</b>(<i></i>) |
136 <b>__inInlineDocument</b>(<i></i>) |
137 <p> |
137 <p> |
138 Private method to check, if the cursor is within an inline document. |
138 Private method to check, if the cursor is within an inline document. |
139 </p><dl> |
139 </p><dl> |
140 <dt>Returns:</dt> |
140 <dt>Returns:</dt> |
141 <dd> |
141 <dd> |
142 flag indicating, if the cursor is inside an inline document (boolean) |
142 flag indicating, if the cursor is inside an inline document (boolean) |
143 </dd> |
143 </dd> |
144 </dl><a NAME="CompleterRuby.__inSingleQuotedString" ID="CompleterRuby.__inSingleQuotedString"></a> |
144 </dl><a NAME="CompleterRuby.__inSingleQuotedString" ID="CompleterRuby.__inSingleQuotedString"></a> |
145 <h4>CompleterRuby.__inSingleQuotedString</h4> |
145 <h4>CompleterRuby.__inSingleQuotedString</h4> |
146 <b>__inSingleQuotedString</b>(<i></i>) |
146 <b>__inSingleQuotedString</b>(<i></i>) |
147 <p> |
147 <p> |
148 Private method to check, if the cursor is within a single quoted string. |
148 Private method to check, if the cursor is within a single quoted string. |
149 </p><dl> |
149 </p><dl> |
150 <dt>Returns:</dt> |
150 <dt>Returns:</dt> |
151 <dd> |
151 <dd> |
152 flag indicating, if the cursor is inside a single |
152 flag indicating, if the cursor is inside a single |
153 quoted string (boolean) |
153 quoted string (boolean) |
154 </dd> |
154 </dd> |
155 </dl><a NAME="CompleterRuby.charAdded" ID="CompleterRuby.charAdded"></a> |
155 </dl><a NAME="CompleterRuby.charAdded" ID="CompleterRuby.charAdded"></a> |
156 <h4>CompleterRuby.charAdded</h4> |
156 <h4>CompleterRuby.charAdded</h4> |
157 <b>charAdded</b>(<i>charNumber</i>) |
157 <b>charAdded</b>(<i>charNumber</i>) |
158 <p> |
158 <p> |
159 Public slot called to handle the user entering a character. |
159 Public slot called to handle the user entering a character. |
160 </p><dl> |
160 </p><dl> |
161 <dt><i>charNumber</i></dt> |
161 <dt><i>charNumber</i></dt> |
162 <dd> |
162 <dd> |
163 value of the character entered (integer) |
163 value of the character entered (integer) |
164 </dd> |
164 </dd> |
165 </dl><a NAME="CompleterRuby.readSettings" ID="CompleterRuby.readSettings"></a> |
165 </dl><a NAME="CompleterRuby.readSettings" ID="CompleterRuby.readSettings"></a> |
166 <h4>CompleterRuby.readSettings</h4> |
166 <h4>CompleterRuby.readSettings</h4> |
167 <b>readSettings</b>(<i></i>) |
167 <b>readSettings</b>(<i></i>) |
168 <p> |
168 <p> |
169 Public slot called to reread the configuration parameters. |
169 Public slot called to reread the configuration parameters. |
170 </p> |
170 </p> |
171 <div align="right"><a href="#top">Up</a></div> |
171 <div align="right"><a href="#top">Up</a></div> |
172 <hr /> |
172 <hr /> |
173 </body></html> |
173 </body></html> |