Clarification, it should start out like this: def calculate_completions(c,p,pos); return ["foobar", "foobaz"]
I don't see a need to have references to "codewise" module outside this function (i.e. initCompleter should not know about it, etc). On Sat, Apr 2, 2011 at 7:33 AM, Ville M. Vainio <[email protected]> wrote: > Go ahead and remove ctagscompleter. > > It might be useful to retain codewisecompleter until the functionality > is really operational in Leo. I'll try to make some time for this this > weekend. > > All I need is a method that gets c,p, and position in body, and should > return the list of strings, containing the possible completions. Can > you point me at such a function? > > On Fri, Apr 1, 2011 at 7:47 PM, Edward K. Ream <[email protected]> wrote: >> The relevant parts of the codewisecompleter plugin has now been folded >> into qtGui.py, and the hooks for those plugins have just been removed >> from eventFilter. >> >> I can see no reason to retain these plugins, and it would seem to be >> less confusing to remove them. >> >> Does anyone have any objections? >> >> Edward >> >> -- >> 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.
