• allow request_color to be called with no arguments (or nil)
• let request_color return nil when user cancels the color picker
• handle user cancel in Insert Color… and replace_colors.rb

The Textile command has been simplified. It read a tag from stdin and inserted 
that as part of the result, but it also read the default color from stdin, 
which could never have worked, since stdin was already consumed. So now it 
reads nothing from stdin and just inserts the color (no tags potentially read 
from stdin).

Changed:
U   trunk/Bundles/CSS.tmbundle/Commands/Insert Color.plist
U   trunk/Bundles/Experimental.tmbundle/Support/replace_colors.rb
U   trunk/Bundles/Textile.tmbundle/Commands/Insert Color….tmCommand
U   trunk/Support/lib/ui.rb

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

Reply via email to