On 27.12.2006, at 15:54, Todd Ditchendorf wrote:
Soryu:
Now I’d just like an option to turn off the sound.
good idea... the biggest question is how to show this option in the ui... in a normal app, I'd just put it in the prefs window, but in a plugin, i'm not sure where to put it....
The defaults System.
defaults read com.macromates.textmate
This is already uses by e.g. the CodeBrowser Plugin:
"CodeBrowser.function.17994EC8-6B1D-11D9-AC3A-000D93589AF6" = 1; "CodeBrowser.variable.17994EC8-6B1D-11D9-AC3A-000D93589AF6" = 0;
I think we do not really need to expose it in the GUI, but just put it in the Documentation somewhere, as people will set it only once.
Soryu.