Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider reworking script editor to have plugin-based editor panes #66

Open
hinerm opened this issue Jan 12, 2016 · 1 comment
Open

Comments

@hinerm
Copy link
Member

hinerm commented Jan 12, 2016

Currently the SriptEditor/EditorPane are fixed towards the "run the whole script" paradigm.

It would be awesome to have EditorPane detection be plugin-based based on script language handling - e.g. open a Java script and get the classic "run" = compile and run the whole script editor, open a clojure script and get an interpreter.

This could also help us decouple script language support from the Swing-specific code.

@hinerm
Copy link
Member Author

hinerm commented Jan 12, 2016

@kephale suggests that it may be as simple as changing how the editor responds to "enter" - sending the current text to the script engine or not.
And then we would need to expose lower level functionality about whether or not the engine should retain state between runs..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant