Didn't have time to try it yet, but sounds most excellent. Thanks for picking up my slack (again ;-).
On Tue, Oct 11, 2011 at 11:12 PM, Terry Brown <[email protected]> wrote: > After a long time wandering in the maze of key event handling and Leo's > roll your own qt-completer widget, I've managed to get the following > functionality working. > > Hitting Tab, instead of enter, on an item selected in the completions > list tells Leo you want to select members of the class you just > indicated. > > So if I had > > x.get<ctrl-space> I'm shown a gazillion get* methods, everything > codewise knows about which starts with 'get'. > > Now I do > > x.Zo<ctrl-space> and I'm shown the list of things starting with 'Zo', > I pick my class, called 'ZonalStats', and hit Tab. Leo comments > 'ZonalStats: 21 options', and shows me the autocompletion list for that > class only, making it easy to pick the get_bbox() method, or whatever. > > The system doesn't currently remember that x is a ZonalStats, I might > add that, and file / calltips / docstring lookup etc. in the future. > > So, I'm not sure whether the roll your own qt-completer widget is > needed for this level of functionality or not. Given that I've got it > to work now, I'm not in a hurry to change it. > > I just made codewise parse the Django source directory, and that works > as expected. I'll see if I can find something Blendery to point it at. > > Shall I go ahead and push this Edward? The changes are fairly self > contained, but I'm not sure if it's impacted non-qtcompleter based > completion. Leo centric completion still works, in fact you can get > 'position' flavored completion for p., and then override it to a > different class, known to codewise, using the above Tab process. > > Cheers -Terry > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/leo-editor?hl=en. > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
