Add support from txt files to use each line words
Brought to you by:
mattes432
Hello , okay this pluggin helped me so very much but i have to enter one word at a time and then add it to the list
i need to be able to add a list of words as one word per line from a txt file
so i can use this marked words to bookmark each line contains any words from these line
any idea or is it possible . thank you
Anonymous
Hi,
this sounds for me you should please have a look into the pattern file format.
It is very simple and does probably the job you want.
make some test patterns
click save
open the just now saved file in NPP
Assuming you want to do this programmatically you could use e.g. the NPP macros to prepare a text selection into valid pattern file format.
AP allows you to add multiple times new pattern files and prepend or append the pattern lists.
Hope that matches your needs?
Regards,
Mattes
re itterating your idea:
add a line detector into context command "add selection as text"
this could be for sure also done and may be useful ;-)
Thanks for the proposal.
I just played a bit with macro recording and saw that plugin commands are not working with macros. Will have to check ...