Firstly, great plugin! I think Python Script may be the tipping point for me to move from jEdit over to NPP. jEdit always had a nice way of writing macros & scripts with beanshell, but I had to hold my nose since the Java Swing UI performs poorly and has numerous bugs. Now with your plugin it looks like I can get a fully-scriptable text editor with good, native Windows controls. Nice!
I have one small functional suggestion for you … let's say I execute a script and it throws an Exception midway through. Right now, it's pretty hard to tell whether the script failed, or if it simply ran and did nothing. It might be nice if the plugin would automatically open the Console window when a script throws an Exception which bubbles all the way to the top of the stack.
You can actually do this yourself - just change the error class in the startup.py file, so that it does an notepad.showConsole() whenever writeError is called.
Good tip, that worked well. Thanks!
Log in to post a comment.