From 1456f0fd0c9ef11b7ea42429827067aba600a56d Mon Sep 17 00:00:00 2001 From: PeterCJ Date: Thu, 4 Jun 2020 14:23:46 -0700 Subject: [PATCH] [skip ci] In the Helper Function section with the replace/rereplace/search/research, explain the workaround until such time as they are implemented --- lib/Win32/Mechanize/NotepadPlusPlus/Editor.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Win32/Mechanize/NotepadPlusPlus/Editor.pm b/lib/Win32/Mechanize/NotepadPlusPlus/Editor.pm index 6d01c12a..1df48695 100644 --- a/lib/Win32/Mechanize/NotepadPlusPlus/Editor.pm +++ b/lib/Win32/Mechanize/NotepadPlusPlus/Editor.pm @@ -11187,6 +11187,10 @@ sub replaceWholeLine { TODO: need to figure out how to implement the search/replace helper methods described in PythonScript API, as much as is possible. +Until such time as they are implemented, it is recommended you just use the already-existing L methods; or, +if that's not sufficient, use L|/getText> and L|/setText> to pass the whole file into and out +of Perl, and use the power of Perl for your text manipulations. + =item search editor->search(...);