throw-away-1 at macromates.com
Fri Apr 13 11:05:05 UTC 2007
• do not use a thread to vend the Dialog controller object and thus remove all the performSelectorOnMainThread: calls.
The thread was initially necessary so that the dialog plug-in could stall when called from tm_dialog (without blocking TM), but since it is now tm_dialog which waits for a semaphore, there is no need for the thread and this extra complexity.
This fixes the problem with lack of refresh after updating nibs (since updating was actually NOT done on the main thread, which is the only thing supported by Cocoa).
U trunk/Tools/Dialog PlugIn/Dialog.mm
More information about the textmate-dev