Skip to content

SCfindArgs() references the wrong method #27

Description

@andrewcsmith

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions