PythonScript
PythonScript copied to clipboard
Python Script plugin for Notepad++
The new Scintilla upgrade [changes how external lexers](https://github.com/notepad-plus-plus/notepad-plus-plus/commit/121a396bf0917b97c3776c88dabbf0a14b80a1b2) are imported and configured. When using PythonScript 3.0.13 with Notepad 8.3.3 latest dev build, I no longer get file links in the...
It looks like it is not possible anymore to use setLexer to set a language in Notepad++. Scintilla 5 has moved the lexers from Scintilla into a new [Lexilla](https://www.scintilla.org/Lexilla.html) project....
Recently I had a need to open (for reading) the default session file (`session.xml`) from a PythonScript. Locating the file was tedious as I first had to figure out where...
I’m having trouble detecting the saved/unsaved state of the filetabs at Notepad++ startup using a script. Specifically, I’m being told that I have no unsaved tabs, when I do have...
Can these 3 related functions appear sequentially in the documentation?: editor.setSel(anchor, caret) editor.setSelection(caret, anchor) editor.setEmptySelection(caret) --------------------------------------------------- Additionally, can the following highlighted text be added?:  --------------------------------------------------- Some of the information...
I noticed that when I put some text in a notepad.prompt() window, e.g.: `notepad.prompt('', '', 'this is the default first line')` it correctly shows:  But then if I want...
 The highlighted area should be `int`. Original discussion: https://community.notepad-plus-plus.org/post/82683 Error is present in 2.0.0.0 and 3.10.4
same method works in synchronous callback - threading issue? Needs investigation
Using 64-bit, 3.10.4, when using a Unicode literal character in the `notepad.messageBox()` strings, the character is not displayed correctly:  from: `notepad.messageBox('▶ bullet', '')` ---------------------------------------------- Interestingly, `notepad.prompt()` is much better,...
Using Notepad++ 8.4.4 x64 and PythonScript_Full_3.0.14.0_x64.zip: editor.getWordChars() triggers this error message: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte In PythonScript 2.0.0 (using the same...