findText
-
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) # --> noneMy 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.dllDoes anybody have any suggestions? Thanks in advance.
-
You need to update PythonScript due to the changes made in Npp 8.3.
-
@ekopalypse
Thank you, I didn’t know that. -
@ekopalypse
I removed pythonscript (per Plugins Admin) and reinstalled it (also per Plugins Admin). I now have 1.5.4.0, 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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login