cleaned up commands,fixed cpl of minor probs

This commit is contained in:
rob 2009-01-03 22:39:52 +00:00
parent dc5fbfe289
commit c70c7531c2
7 changed files with 19 additions and 13 deletions

View File

@ -6,9 +6,11 @@
<string>nop</string>
<key>command</key>
<string>require_cmd sc3c
sc3c -d "${TM_SELECTED_TEXT:-\"\"}"</string>
sc3c -d "${TM_SELECTED_TEXT:-\"\"}"
</string>
<key>fallbackInput</key>
<string>word</string>
<string>none</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>

View File

@ -8,15 +8,15 @@
<string>require_cmd sc3c
sc3c -y $TM_SELECTED_TEXT</string>
<key>fallbackInput</key>
<string>word</string>
<string>none</string>
<key>input</key>
<string>selection</string>
<string>none</string>
<key>keyEquivalent</key>
<string>@y</string>
<key>name</key>
<string>Implementations of</string>
<key>output</key>
<string>discard</string>
<string>showAsTooltip</string>
<key>scope</key>
<string>source.supercollider</string>
<key>uuid</key>

View File

@ -11,7 +11,7 @@ sc3c -x SC_INTERPRET_TEXT;</string>
<key>fallbackInput</key>
<string>line</string>
<key>input</key>
<string>selection</string>
<string>none</string>
<key>keyEquivalent</key>
<string></string>
<key>name</key>

View File

@ -7,14 +7,16 @@
<key>command</key>
<string>require_cmd sc3c
sc3c -j $TM_SELECTED_TEXT</string>
<key>fallbackInput</key>
<string>none</string>
<key>input</key>
<string>selection</string>
<string>none</string>
<key>keyEquivalent</key>
<string>@j</string>
<key>name</key>
<string>Open Class file</string>
<key>output</key>
<string>discard</string>
<string>showAsTooltip</string>
<key>scope</key>
<string>source.supercollider</string>
<key>uuid</key>

View File

@ -7,14 +7,16 @@
<key>command</key>
<string>require_cmd sc3c
sc3c -Y $TM_SELECTED_TEXT</string>
<key>fallbackInput</key>
<string>none</string>
<key>input</key>
<string>selection</string>
<string>none</string>
<key>keyEquivalent</key>
<string>@Y</string>
<key>name</key>
<string>References to</string>
<key>output</key>
<string>discard</string>
<string>showAsTooltip</string>
<key>scope</key>
<string>source.supercollider</string>
<key>uuid</key>

View File

@ -14,7 +14,7 @@ sc3c -k</string>
<key>name</key>
<string>Recompile class library</string>
<key>output</key>
<string>showAsTooltip</string>
<string>discard</string>
<key>scope</key>
<string>source.supercollider</string>
<key>uuid</key>

View File

@ -24,7 +24,7 @@ TextMate {
item.state = item.state.not;
};
openReferencesInTextMate.state = true;
openReferencesInTextMate.setShortCut("r", true, true);
openReferencesInTextMate.setShortCut("r", true, true);
}
}
@ -81,7 +81,7 @@ SC3Controller {
var content = f.readAllString;
var split = content.split($:);
if("^[0-9]+$".matchRegexp(split.first.asString)) {
("mate -l" ++ split.first + "\"" ++ fname ++ "\"").postln.unixCmd(postOutput: false);
("mate -l" ++ split.first + "\"" ++ fname ++ "\"").unixCmd(postOutput: false);
} {
("mate" + fname).unixCmd(postOutput: false);
}