At first sight, NPP 8.4.8 with PythonScript2.0 apparently did the trick! (One only needed to install the missing unidecode module). Thanks a lot for the (prompt) response. However on closer inspection the problem lied in a patched 'sys.path' in MY now OLD custom startup.py which resulted in missing python27\DLLs folder in the path... (this was meant to circumvent the error thrown by PythonScript when it imported pygtk module)
At first sight, NPP 8.4.8 with PythonScript2.0 apparently did the trick! (One only needed to install the missing unidecode module). Thanks a lot for the (prompt) response. However on closer inspection the problem lied in a patched 'sys.path' in my now OLD custom startup.py which resulted in missing python27\DLLs folder in the path... (this was meant to circumvent the error thrown by PythonScript when it imported pygtk module) (As a side comment, I note that the new PythonScript Plugin no longer list...
At first sight, NPP 8.4.8 with PythonScript2.0 apparently did the trick! (One only needed to install the missing unidecode module). Thanks a lot for the (prompt) response. However on closer inspection the problem lied in a patched 'sys.path' of my now OLD custom startup.py which resulted in missing python27\DLLs folder in the path... (this was meant to circumvent the error thrown by PythonScript when it imported pygtk module)
At first sight, NPP 8.4.8 with PythonScript2.0 apparently did the trick! (One only needed to install the missing unidecode module). Thanks a lot for the (prompt) response. On closer inspection the problem lied in a patched 'sys.path' of my now OLD custom startup.py which resulted in missing python27\DLLs folder in the path... (this was meant to circumvent the error thrown by PythonScript when it imported pygtk module)
At first sight, NPP 8.4.8 with PythonScript2.0 apparently did the trick! (One only needed to install the missing unidecode module). Thanks a lot for the (prompt) response. On closer inspection the problem lied in a patched 'sys.path' of my now OLD custom startup.py which resulted in missing python\DLLs folder in the path... (this was meant to circumvent the error thrown by PythonScript when it imported pygtk module)
At first sight, NPP 8.4.8 with PythonScript2.0 apparently did the trick! (One only needed to install the missing unidecode module). Thanks a lot for (prompt) response. On closer inspection the problem lied in a patched 'sys.path' of my now OLD custom startup.py which resulted in missing python\DLLs folder in the path... (this was meant to circumvent the error thrown by PythonScript when it imported pygtk module)
NPP 8.4.8 with PythonScript2.0 did the trick! (Only needed to install unidecode module) Thanks a lot for (prompt) response.
Running Npp 8.2.1. 64b Installed Plugin PythonScript 1.5.4.0 Problems trying to run supplied " ...\Scripts\Samples\sorter.py" script Fixed "from unidecode import unidecode" module not found error by copying extracted folder from package in " ...\lib " folder Now stuck with error showing in console: File "C:\Users\admin\AppData\Roaming\Notepad++\plugins\Config\PythonScript\scripts\Sorter.py", line 8, in <module> import Tkinter as tk File "C:\Program Files\Notepad++\plugins\PythonScript\lib\lib-tk\Tkinter.py",...
Running Npp 8.2.1. 64b Installed Plugin PythonScript 1.5.4.0 Problems trying to run supplied " ...\Scripts\Samples\sorter.py" script Fixed "from unidecode import unidecode" module not found error by copying extracted folder from package in " ...\lib " folder Now stuck with error showing in console: File "C:\Users\admin\AppData\Roaming\Notepad++\plugins\Config\PythonScript\scripts\Sorter.py", line 8, in <module> import Tkinter as tk File "C:\Program Files\Notepad++\plugins\PythonScript\lib\lib-tk\Tkinter.py",...
Running Npp 8.2.1. 64b Installed Plugin PythonScript 1.5.4.0 Problems trying to run supplied " ...\Scripts\Samples\sorter.py" script Fixed "from unidecode import unidecode" module not found error by copying extracted folder from package in " ...\lib " folder Now stuck with error showing in console: File "C:\Users\admin\AppData\Roaming\Notepad++\plugins\Config\PythonScript\scripts\Sorter.py", line 8, in <module> import Tkinter as tk File "C:\Program Files\Notepad++\plugins\PythonScript\lib\lib-tk\Tkinter.py",...
Running Npp 8.2.1. 64b Installed Plugin PythonScript 1.5.4.0 Problems trying to run supplied " ...\Scripts\Samples\sorter.py" script Fixed "from unidecode import unidecode" module not found error by copying extracted folder from package in " ...\lib " folder Now stuck with error showing in console: File "C:\Users\admin\AppData\Roaming\Notepad++\plugins\Config\PythonScript\scripts\Sorter.py", line 8, in <module> import Tkinter as tk File "C:\Program Files\Notepad++\plugins\PythonScript\lib\lib-tk\Tkinter.py",...
Running Npp 8.2.1. 64b Installed Plugin PythonScript 1.5.4.0 Problems trying to run supplied " ...\Scripts\Samples\sorter.py" script Fixed "from unidecode import unidecode" module not found error by copying extracted folder from package in " ...\lib " folder Now stuck with error showing in console: File "C:\Users\admin\AppData\Roaming\Notepad++\plugins\Config\PythonScript\scripts\Sorter.py", line 8, in <module> import Tkinter as tk File "C:\Program Files\Notepad++\plugins\PythonScript\lib\lib-tk\Tkinter.py",...
Running Npp 8.2.1. 64b Installed Plugin PythonScript 1.5.4.0 Problems trying to run supplied " ...\Scripts\Samples\sorter.py" script Fixed "from unidecode import unidecode" module not found error by copying extracted folder from package in " ...\lib " folder Now stuck with error showing in console: File "C:\Users\admin\AppData\Roaming\Notepad++\plugins\Config\PythonScript\scripts\Sorter.py", line 8, in <module> import Tkinter as tk File "C:\Program Files\Notepad++\plugins\PythonScript\lib\lib-tk\Tkinter.py",...
Running Npp 8.2.1. 64b Installed Plugin PythonScript 1.5.4.0 Problems trying to run supplied " ...\Scripts\Samples\sorter.py" script Fixed "from unidecode import unidecode" module not found error by copying extracted folder from package in " ...\lib " folder Now stuck with error showing in console: File "C:\Users\admin\AppData\Roaming\Notepad++\plugins\Config\PythonScript\scripts\Sorter.py", line 8, in <module> import Tkinter as tk File "C:\Program Files\Notepad++\plugins\PythonScript\lib\lib-tk\Tkinter.py",...
Updated 2022/03/31 Moved python-code in separate downloadable file. Precious code indentation and lines were missing on earlier version of post due to errors in formatting ... Updated 2015/04/21 Made code cleaner. Expanded to include all possible matching bracket pairs. Included 2-selections concept from Davey https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/4691495a/#d4a9 . I thought I would share this code as a token of appreciation after having learned from reading code examples...
Updated 2022/03/31 Moved python-code in separate downloadable file as indentation is lost when copying to post Updated 2015/04/21 Made code cleaner. Expanded to include all possible matching bracket pairs. Included 2-selections concept from Davey https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/4691495a/#d4a9 . I thought I would share this code as a token of appreciation after having learned from reading code examples from so many other programmers. filename : Swap_Items.py Thank...
Updated 2022/03/31 Moved python-code in separate downloadable file as indentation is lost when copying to post Updated 2015/04/21 Made code cleaner. Expanded to include all possible matching bracket pairs. Included 2-selections concept from Davey https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/4691495a/#d4a9 . I thought I would share this code as a token of appreciation after having learned from reading code examples from so many other programmers. filename : Swap_Items.py Thank...
Updated 2022/03/31 Moved python-code in separate downloadable file as indentation is lost when copying to post Updated 2015/04/21 Made code cleaner. Expanded to include all possible matching bracket pairs. Included 2-selections concept from Davey https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/4691495a/#d4a9 . I thought I would share this code as a token of appreciation after having learned from reading code examples from so many other programmers. filename : Swap_Items.py Thank...
Updated 2022/03/31 Moved python-code in separate downloadable file as indentation is lost when copying to post Updated 2015/04/21 Made code cleaner. Expanded to include all possible matching bracket pairs. Included 2-selections concept from Davey https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/4691495a/#d4a9 . I thought I would share this code as a token of appreciation after having learned from reading code examples from so many other programmers. filename : Swap_Items.py Thank...
Updated 2015/04/21 Made code cleaner. Expanded to include all possible matching bracket pairs. Included 2-selections concept from Davey https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/4691495a/#d4a9 . I thought I would share this code as a token of appreciation after having learned from reading code examples from so many other programmers. I named it Swap_Items.py. Thank you all 'pythoners'. Comments are welcome! ~~~~~~ ''' PURPOSE There is often a need to switch the position...
It seems there is a problem using notepad.getFiles() (NPP 6.7.4, PS 1.0.8) The listing...
It seems there is a problem using notepad.getFiles() (NPP 6.7.4, PS 1.0.8) The listing...
Was checking about a remote (2014) issue with console.clear and stumbled on a long...
Was checking about a remote (2014) issue with console.write and stumbled on a long...
Was checking about a remote (2014) issue with console.write and stumbled on a long...
It seems there is a problem using notepad.getFiles() (NPP 6.7.4, PS 1.0.8) The listing...
Included as a companion to Swap Items https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/85b4b1b4/#d3d2...
Updated 2015/04/21 Made code cleaner. Expanded to include all possible matching bracket...
Included as a companion to Swap Items https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/85b4b1b4/#d3d2...
Updated 2015/04/21 Made code cleaner. Expanded to include all possible matching bracket...
Updated 2015/04/21 Made code cleaner Expanded to include all possible matching pairs...
Updated 2015/04/21 Made code cleaner Expanded to include all possible matching pairs...
Updated 2015/04/21 I thought I would share this code as a token of appreciation after...
Updated 2015/04/17 added code for [ ] case I thought I would share this code as a...
Updated 2015/04/17 added code for [ ] case I thought I would share this code as a...
NB Works fine but ONLY from Editor1 !
Cancelled! Found answer: FINDOPTION.WHOLEWORD FINDOPTION.MATCHCASE FINDOPTION.WORDSTART...
I am unsuccessful in calling the editor.SearchNext function with the SCFIND_REGEXP...
I am unsuccessful in calling the editor.SearchNext function with the SCFIND_REGEXP...
I thought I would share this code as a token of appreciation after having benefited...
I thought I would share this code as a token of appreciation after having benefited...
Update 1.0.8 solved several freezes I had. e.g. in a startup def: CV = notepad.getCurrentView()...
I don't know if the problem lies with the PythonScript addin or NPP itself but it...
I don't know if the problem lies with the PythonScript addin or NPP but it is quite...
There is no need for "import Npp" in the user script Try: text = "abc" editor.addText(text)...
I thought I would share this code as a token of appreciation after having benefited...
I thought I would share this code as a token of appreciation after having benefited...
Thank for looking into this! I have other examples of "strange bugs" but will wait...
Yes, I installed PythonScript_1.0.7.0.msi on NPP 6.6.9. By the way, searching for...
How do I get someone knowledgeable to comment/help ?
How do I get someone knowledgeable to help ?
I have been using Python Script for about a year and it helped a lot streamlining...
I thought I would share this code as a token of appreciation after having benefited...
I thought I would share this code as a token of appreciation after having benefited...
Let me first state that I don't have in-depth knowledge of Python. You proved that...
I remember having similar problems. Did you solve yours? A few ideas: Check if you...
I have been using Python Script for about a year and it helped a lot streamlining...