I am working on creating dynamic autocompletion in SciTE via Lua, but ran into a problem. The implementation I have at the moment is to search the document for [identifier] = [whatever] # [class] and get instance methods of [class] and display them in an autocompletion list. The problem is if an identifier is being used elsewhere (in a different function or something), there could be multiple classes. This is where I popup a UserList with the classes available for the user to select. The problem is in the OnUserListSelection event. I'm trying to call AutoCShow() from it with an instance methods list, but I get autocompletion of whatever it was the user selected. I'm guessing the call to AutoCShow() is working, but after OnUserListSelection finishes, SciTE calls AutoCComplete() or something instead of keeping the list displayed for the user.
Any ideas how to get around this?
-Mitchell;
_______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
