Hi Dave,
of course you are correct (and corrected) but I don't know why/how this happens.
I've posted the same on npp community which is correct. Hmmm - must be sleepwalking me. ;-)
Cheers
Claudia
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is the script run from Python Script folder as other one?
What do you mean from folder?
You start npp and then you goto plugins->python script->new script,
give it a meaningful name and put the code into it. save it.
Open both views and run the script by using plugins->python script->scripts->YOUR_NAME -> done
The animate gif Dave postet should explain its uasage pretty well.
Concerning the console, Plugins->Python Script->Show Console.
Cheers
Claudia
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
script needs to use both npp views, 2nd is were you type the regular expression.
Code commented
Cheers
Claudia
Last edit: CFrank 2016-03-19
Wow! This is really really awesome!
Think
re import
should beimport re
as the first line.https://twitter.com/bruderstein/status/711138614432894976
Hi Dave,
of course you are correct (and corrected) but I don't know why/how this happens.
I've posted the same on npp community which is correct. Hmmm - must be sleepwalking me. ;-)
Cheers
Claudia
As Python Script ? Not working...
What is not working?
Do you have any error in the console?
Cheers
Claudia
Is the script run from Python Script folder as other one?
I didn't see any console appear, seems to not run when launch it...
Cheers
What do you mean from folder?
You start npp and then you goto plugins->python script->new script,
give it a meaningful name and put the code into it. save it.
Open both views and run the script by using plugins->python script->scripts->YOUR_NAME -> done
The animate gif Dave postet should explain its uasage pretty well.
Concerning the console, Plugins->Python Script->Show Console.
Cheers
Claudia
I did not make the second view, I see that work, but now all text is marked ;)
Just use an empty line and coloring should go away ;-)
Cheers
Claudia
Ok, thank you, this is the most interactive code I ever see on NPP, magic !
Marvellous,inspirational, useful - thanks!
An updated version (V2) is available here
https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/f59511a4/