sclang-extensions icon indicating copy to clipboard operation
sclang-extensions copied to clipboard

Handle errors when evaluating sclang expressions

Open chrisbarrett opened this issue 11 years ago • 2 comments

Some of the included extensions, such as sclang-doc-mode, pass the code around the cursor to sclang and use reflection to get info such as documentation. Often the expression passed to sclang is syntactically incorrect, and results in an error being printed to the post buffer.

These expressions need to be evaluated in a way that prevents evaluation errors from being thrown. The function that needs to be fixed is in sclang-extensions-utils.

I don't know sclang well enough to fix this, so contributions are needed if this is to be resolved.

chrisbarrett avatar Nov 17 '13 23:11 chrisbarrett

Completing this should resolve #3.

chrisbarrett avatar Nov 17 '13 23:11 chrisbarrett

Did you ever check the solution here for this (from #7)?

dathinaios avatar Mar 15 '16 17:03 dathinaios