File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -121,22 +121,22 @@ void SonicPiAPIs::updateAutoCompletionList(const QStringList &context,
121121 } else if (last == " use_tuning" || last == " with_tuning" ) {
122122 ctx = Tuning;
123123
124- // FX params
125- } else if (words.length () >= 2 &&
126- (first == " with_fx" || first == " use_fx" )) {
127- if (last.endsWith (' :' )) return ; // don't try to complete parameters
128- if (fxArgs.contains (second)) {
129- list = fxArgs[second];
130- return ;
131- }
132-
133- // Synth params
134- } else if (words.length () >= 2 && first == " synth" ) {
135- if (last.endsWith (' :' )) return ; // don't try to complete parameters
136- if (synthArgs.contains (second)) {
137- list = synthArgs[second];
138- return ;
139- }
124+ // // FX params
125+ // } else if (words.length() >= 2 &&
126+ // (first == "with_fx" || first == "use_fx")) {
127+ // if (last.endsWith(':')) return; // don't try to complete parameters
128+ // if (fxArgs.contains(second)) {
129+ // list = fxArgs[second];
130+ // return;
131+ // }
132+
133+ // // Synth params
134+ // } else if (words.length() >= 2 && first == "synth") {
135+ // if (last.endsWith(':')) return; // don't try to complete parameters
136+ // if (synthArgs.contains(second)) {
137+ // list = synthArgs[second];
138+ // return;
139+ // }
140140
141141 // Play params
142142 } else if (words.length () >= 2 && first == " play" ) {
You can’t perform that action at this time.
0 commit comments