scvim
scvim copied to clipboard
SCfindArgs() references the wrong method
When my cursor is where it is below:
EnvGen.kr(Env.perc(0, [CURSOR]1), gate, doneAction: 2) * ...
And I run :call SCfindArgs(), it gives me this:
-> EnvGen *kr (envelope: nil, gate: 1, levelScale: 1, levelBias: 0, timeScale: 1, doneAction: 0)
Really, though, I want the args for Env *perc, not EnvGen *kr.
It looks as though it's just grabbing the first method of the given line of the text file. Unfortunately this means that using method highlighting enforces a particular way of formatting code.