I have several scripts that use
editor.findText. Since some time it does not find anything. Example:
from __future__ import print_function from Npp import * # DELIMITER pos = editor.findText(FINDOPTION.WHOLEWORD, 0, editor.getLength(), "DELIMITER") print(pos) # --> none
My debug info is:
Notepad++ v8.3.1 (64-bit)
Build time : Feb 13 2022 - 15:41:12
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Home (64-bit)
OS Version : 2009
OS Build : 19043.1526
Current ANSI codepage : 1252
Plugins : ColumnTools.dll DSpellCheck.dll HexEditor.dll mimeTools.dll NppConverter.dll NppExport.dll PythonScript.dll
Does anybody have any suggestions? Thanks in advance.
Ekopalypse last edited by
You need to update PythonScript due to the changes made in Npp 8.3.
Thank you, I didn’t know that.
I removed pythonscript (per Plugins Admin) and reinstalled it (also per Plugins Admin). I now have 22.214.171.124, but it still does not work. Do I have to update via another route?
@paul-wormer I updated to version 2.0.0 via GitHub and now it works. Windows defender warned severely for viruses though, which I somewhat reluctantly ignored.