提交 f0855a3d 编写于 作者: S Sam Aaron

GUI - disable experimental autocompletion

上级 bb970dad
......@@ -112,32 +112,32 @@ void SonicPiAPIs::updateAutoCompletionList(const QStringList &context,
last == "mc_set_area") {
ctx = MCBlock;
// FX params
} else if (words.length() >= 2 &&
(first == "with_fx" || first == "use_fx")) {
if (last.endsWith(':')) return; // don't try to complete parameters
if (fxArgs.contains(second)) {
list = fxArgs[second];
return;
}
// Synth params
} else if (words.length() >= 2 && first == "synth") {
if (last.endsWith(':')) return; // don't try to complete parameters
if (synthArgs.contains(second)) {
list = synthArgs[second];
return;
}
// Play params
} else if (words.length() >= 2 && first == "play") {
if (last.endsWith(':')) return; // don't try to complete parameters
ctx = PlayParam;
// Sample params
} else if (words.length() >= 2 && first == "sample") {
if (last.endsWith(':')) return; // don't try to complete parameters
ctx = SampleParam;
// // FX params
// } else if (words.length() >= 2 &&
// (first == "with_fx" || first == "use_fx")) {
// if (last.endsWith(':')) return; // don't try to complete parameters
// if (fxArgs.contains(second)) {
// list = fxArgs[second];
// return;
// }
// // Synth params
// } else if (words.length() >= 2 && first == "synth") {
// if (last.endsWith(':')) return; // don't try to complete parameters
// if (synthArgs.contains(second)) {
// list = synthArgs[second];
// return;
// }
// // Play params
// } else if (words.length() >= 2 && first == "play") {
// if (last.endsWith(':')) return; // don't try to complete parameters
// ctx = PlayParam;
// // Sample params
// } else if (words.length() >= 2 && first == "sample") {
// if (last.endsWith(':')) return; // don't try to complete parameters
// ctx = SampleParam;
} else if (context.length() > 1) {
if (partial.length() <= 2) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册