2 Oct 2005 16:48
Re: exposing the SciTE 'execute tool' functionality to Lua
April White <april_white <at> sympatico.ca>
2005-10-02 14:48:05 GMT
2005-10-02 14:48:05 GMT
Neil Hodgson wrote: >Neil Hodgson: > > >> This does not appear to have taken threading into account. Which >>thread is it running on? How is this synchronized with other >>activities including other queued actions? You may need to lock the >>queue. >> I think I understand what you mean now. When I press a hot-key to activate a tool of type jobExtension, it uses the SciTEWin::ExecuteOne() method call to extender->OnExecute(), which in turn would add commands back to the queue and call SciTEWin::ExecuteOne() again. If it passed in a jobExtension command, it could loop. I feel your initial suggestion of adding commands to the queue is the best way to go, but there are hurdles to overcome first. April -- -- Why do people with closed minds always open their mouths?
RSS Feed