some tweaks

This commit is contained in:
Rob Watson 2009-01-17 14:13:09 +00:00
parent e398e9e634
commit 067f4cb869
4 changed files with 41 additions and 20 deletions

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>Char.nl</string>
<key>name</key>
<string>Char.nl</string>
<key>scope</key>
<string>source.supercollider</string>
<key>tabTrigger</key>
<string>nl</string>
<key>uuid</key>
<string>61169F07-1581-4355-8143-3EEF6F672E58</string>
</dict>
</plist>

View File

@ -88,7 +88,7 @@
</dict>
<dict>
<key>match</key>
<string>\|[a-zA-Z0-9\#\[\]\_\=\.\(\)[[:space:]]\,]+\|</string>
<string>\|[a-zA-Z0-9\#\[\]\"\_\=\.\(\)[[:space:]]\,]+\|</string>
<key>name</key>
<string>variable.parameter.function.supercollider</string>
</dict>

View File

@ -8,6 +8,7 @@
<array>
<string>F63E530D-4C84-4C66-9EAA-6FC504FA4587</string>
<string>2C468C9B-66BB-40C6-B845-E2360D4717B4</string>
<string>61169F07-1581-4355-8143-3EEF6F672E58</string>
<string>EEDC65AF-1F53-4E2F-AA08-D1E04FAC5B1D</string>
<string>F70E5246-BA0F-4201-8C63-09D8CE38A690</string>
<string>C56D8EA0-215E-438C-B039-23830645FFDA</string>

View File

@ -3,26 +3,30 @@ TextMate {
*initClass {
var opt;
menu = CocoaMenuItem(nil, 7, "TextMate", true);
opt = CocoaMenuItem(menu, 0, "TextMate to front", false) {
"osascript << END
tell application \"TextMate\" to activate
END
".unixCmd(postOutput: false)
};
opt.setShortCut("T");
openClassInTextMate = CocoaMenuItem(menu, 1, "Open class files in TextMate", false) { |item|
item.state = item.state.not;
};
openClassInTextMate.state = true;
openReferencesInTextMate = CocoaMenuItem(menu, 2, "Open references in TextMate", false) { |item|
item.state = item.state.not;
};
openReferencesInTextMate.state = true;
try {
menu = CocoaMenuItem(nil, 7, "TextMate", true);
opt = CocoaMenuItem(menu, 0, "TextMate to front", false) {
"osascript << END
tell application \"TextMate\" to activate
END
".unixCmd(postOutput: false)
};
opt.setShortCut("T");
openClassInTextMate = CocoaMenuItem(menu, 1, "Open class files in TextMate", false) { |item|
item.state = item.state.not;
};
openClassInTextMate.state = true;
openReferencesInTextMate = CocoaMenuItem(menu, 2, "Open references in TextMate", false) { |item|
item.state = item.state.not;
};
openReferencesInTextMate.state = true;
} {
"TextMate found a problem installing CocoaMenuItems - you may be running SC 3.2 or older, or booting from command-line.".warn
}
}
}