Hi I���m trying to work out the best way to cope with the fact that we are in a hybrid place where the Playground is using an RubSmalltalkEditor but Calypso has its own mechanisms for editing code.
I have commands that should/can work in both the playground as well as code method editor (in Calypso).
Previously my code lived in RubSmalltalkEditor and Nautilus was using that too - but now I���m not sure where to put some reusable methods that use RBParser and the AST to find the best place to position your cursor.
I can make a class method on RubSmalltalkEditor and Calypso commands could reference that (but that feels wrong somehow). I could make some extension methods on RBParser and both places reference that - but then who should own the extension method (as I think RubSmalltalkEditor is lower level and Calypso is then loaded on top).
Anyone have some good suggestions?
Tim