show console on script error

  • Greg Merrill

    Greg Merrill - 2011-07-23

    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.

  • Dave Brotherstone

    You can actually do this yourself - just change the error class in the file, so that it does an notepad.showConsole() whenever writeError is called. 

  • Greg Merrill

    Greg Merrill - 2011-07-23

    Good tip, that worked well.  Thanks!


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks