Istvan: > I've a problem with making a menu system with lua. > The code is working nicely under Scite 1.62 but something was changed > since v1.63 and then this is not work. > ... > When I press Ctrl+1 the first list appear. When I select "b" from > list and press enter then the second list appear but only for a very > short time and then dissapear. What I am doing wrong?
The autocompletion code changed quite a bit in 1.63 and there have been some more changes since. The change that caused this was when the SCN_AUTOCSELECTION notification was added to allow the container to handle an autocompletion selection itself and not have the text inserted. The user list selection notification is sent, then the list is removed from the screen. If the script puts up another list then that is the one that is removed. Not sure what to do here. For other applications that use Scintilla I'd suggest posting a message and showing the second list when that is received but there isn't really any way to do that from Lua in SciTE currently. Neil _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
