keymap-editor
keymap-editor copied to clipboard
Bindings parser can't handle macro functions with spaces in the params list
The bindings parser finds keycodes that look like "functions" and parses them into a list of parameters.
E.g. LS(F)
becomes
{
"value": "LS",
"params": [{
"value": "F",
"params" []
}]
}
But the pattern matcher isn't handling spaces correctly, so something like LS( LA(F))
becomes
{
"value": "LS(",
"params": []
},
{
"value": "LA",
"params": [{
"value": "F)",
"params": []
}]
}