19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body><a NAME="top" ID="top"></a> |
22 <h1>eric5.DebugClients.Python.FlexCompleter</h1> |
22 <h1>eric5.DebugClients.Python.FlexCompleter</h1> |
23 <p> |
23 <p> |
24 Word completion for the eric5 shell |
24 Word completion for the eric5 shell. |
25 </p><p> |
25 </p><p> |
26 <h4>NOTE for eric5 variant</h4> |
26 <h4>NOTE for eric5 variant</h4> |
27 </p><p> |
27 </p><p> |
28 This version is a re-implementation of FlexCompleter |
28 This version is a re-implementation of FlexCompleter |
29 as found in the PyQwt package. It is modified to work with the eric5 debug |
29 as found in the PyQwt package. It is modified to work with the eric5 debug |
174 </p><p> |
174 </p><p> |
175 readline.set_completer(Completer(my_namespace).complete) |
175 readline.set_completer(Completer(my_namespace).complete) |
176 </p><dl> |
176 </p><dl> |
177 <dt><i>namespace</i></dt> |
177 <dt><i>namespace</i></dt> |
178 <dd> |
178 <dd> |
179 The namespace for the completer. |
179 namespace for the completer |
|
180 </dd> |
|
181 </dl><dl> |
|
182 <dt>Raises <b>TypeError</b>:</dt> |
|
183 <dd> |
|
184 raised to indicate a wrong namespace structure |
180 </dd> |
185 </dd> |
181 </dl><a NAME="Completer.attr_matches" ID="Completer.attr_matches"></a> |
186 </dl><a NAME="Completer.attr_matches" ID="Completer.attr_matches"></a> |
182 <h4>Completer.attr_matches</h4> |
187 <h4>Completer.attr_matches</h4> |
183 <b>attr_matches</b>(<i>text</i>) |
188 <b>attr_matches</b>(<i>text</i>) |
184 <p> |
189 <p> |