@@ -112,32 +112,32 @@ void SonicPiAPIs::updateAutoCompletionList(const QStringList &context,
112
112
last == " mc_set_area" ) {
113
113
ctx = MCBlock;
114
114
115
- // FX params
116
- } else if (words.length () >= 2 &&
117
- (first == " with_fx" || first == " use_fx" )) {
118
- if (last.endsWith (' :' )) return ; // don't try to complete parameters
119
- if (fxArgs.contains (second)) {
120
- list = fxArgs[second];
121
- return ;
122
- }
123
-
124
- // Synth params
125
- } else if (words.length () >= 2 && first == " synth" ) {
126
- if (last.endsWith (' :' )) return ; // don't try to complete parameters
127
- if (synthArgs.contains (second)) {
128
- list = synthArgs[second];
129
- return ;
130
- }
131
-
132
- // Play params
133
- } else if (words.length () >= 2 && first == " play" ) {
134
- if (last.endsWith (' :' )) return ; // don't try to complete parameters
135
- ctx = PlayParam;
136
-
137
- // Sample params
138
- } else if (words.length () >= 2 && first == " sample" ) {
139
- if (last.endsWith (' :' )) return ; // don't try to complete parameters
140
- ctx = SampleParam;
115
+ // // FX params
116
+ // } else if (words.length() >= 2 &&
117
+ // (first == "with_fx" || first == "use_fx")) {
118
+ // if (last.endsWith(':')) return; // don't try to complete parameters
119
+ // if (fxArgs.contains(second)) {
120
+ // list = fxArgs[second];
121
+ // return;
122
+ // }
123
+
124
+ // // Synth params
125
+ // } else if (words.length() >= 2 && first == "synth") {
126
+ // if (last.endsWith(':')) return; // don't try to complete parameters
127
+ // if (synthArgs.contains(second)) {
128
+ // list = synthArgs[second];
129
+ // return;
130
+ // }
131
+
132
+ // // Play params
133
+ // } else if (words.length() >= 2 && first == "play") {
134
+ // if (last.endsWith(':')) return; // don't try to complete parameters
135
+ // ctx = PlayParam;
136
+
137
+ // // Sample params
138
+ // } else if (words.length() >= 2 && first == "sample") {
139
+ // if (last.endsWith(':')) return; // don't try to complete parameters
140
+ // ctx = SampleParam;
141
141
142
142
} else if (context.length () > 1 ) {
143
143
if (partial.length () <= 2 ) {
0 commit comments