add "all" parameter to variables operator

This commit is contained in:
pmario 2024-04-29 14:52:22 +02:00
parent c1aea65252
commit b981232f74
1 changed files with 5 additions and 3 deletions

View File

@ -27,6 +27,8 @@ exports.variables = function(source,operator,options) {
sort,
widget = options.widget,
included = (operands[0].value) ? operands[0].value : "var fn proc macro widget";
// all will overwrite
included = ((included.indexOf("all") !== -1)) ? "var fn proc macro widget" : included;
// variableTemplate = (operands.length > 1 && operands[1]) ? operands[1].value : "$type$ $name$($params$) $firstLine$";