Adding html and xml tags around selected text
A plugin to improve Notepad++
Brought to you by:
jenslorenz
Hi. I'm a dev and I worked on PN2 scripts before. I had this praticularry usefull script that added tags around selected text. I'm hoping maybe you could use my code to implement this feature in TextFX or other plugin.
How the feature:
td align="right") .Example
Just before adding tags:

Result:
Potatos <td align=right>1 kg</td>
Tomatos <td align=right>2 kg</td>
Carrots <td align=right>5</td>
About the Tag.py
The main function of Tag.py is SurroundWithMultiTag.
I added a CC-BY-SA license there, but you can use it on a more flexible CC-BY or MIT license.
There is also a helper for selections, but I guess you already have something like that already in TextFX plugin.
https://f.enux.pl/pn2/Selections.py