• 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).

Changed:
U   trunk/PlugIns/Dialog.tmplugin/Contents/MacOS/Dialog
U   trunk/Tools/Dialog PlugIn/Dialog.mm

_______________________________________________
textmate-dev mailing list
[EMAIL PROTECTED]
http://lists.macromates.com/mailman/listinfo/textmate-dev

Reply via email to