github bruderstein/PythonScript v1.0.1

latest releases: v3.0.18, v3.0.17, v3.0.16...
6 years ago
  • Editor.pyreplace and similar methods (Editor.pysearch, Editor.pymlreplace) have been rewritten from the ground up. Editor.replace(), Editor.rereplace(), Editor.search() and the unfortunately named Editor.research() (R(egular)E(xpression)Search) methods replace the old functions completely. You can now use a function for the replace argument for editor.replace() and editor.rereplace(). The new functions are much faster than the old versions, and work reliably.
  • The new replace functionality now supports Unicode, and converts appropriately for the active document - you can now pass a unicode string as your search or replace argument, and it will be converted depending on the current document's encoding
  • Callbacks for both editor and notepad have had a massive rework, to fix various reliability issues. If you had issues before, try them now.
  • You can now add a synchronous callback for Editor - see editor.callbackSync()
  • GIL (Global Interpreter Lock) management for Python has been significantly improved, and various edge cases that used to crash now work painlessly.
  • Encoding on the Console is now UTF-8, and printing unicode text to the console works
  • notepad.setLangType(LANGTYPE) now works
  • help for editor & notepad methods has been improved to include the parameter names
  • notepad.runMenuCommand fixed to not ignore the menu name (if you have a user defined language called "Open", the File->Open would previously always be called as it was found first)
  • Scintilla bindings updated to 3.39
  • sys.path now has the Notepad++ PythonScript Lib paths prepended, instead of appended. This fixes various cases of things not working when Python is separately installed. An option has been added to the configuration dialog to put back the old behaviour
  • MODIFICATIONFLAGS enum is now included (use in a handler for SCINTILLANOTIFICATION.MODIFIED, checking args['modificationType']
  • sys.argv is set
  • Tcl/Tk now works, and can be installed as an add-on (or with the MSI)
  • MSI installer to ease installation before Plugin Manager gets the update
  • Unit tests have been added for all the major features, and every combination of arguments for the generated code. There's still work to do, but it's infinitely better than before
  • Lots of little bug fixes that had been reported

Don't miss a new PythonScript release

NewReleases is sending notifications on new releases.