@PeterJones said in Add line of text to beginning of multiple files:
inserting 6 lines at the beginning of 300 files has started down the slippery slope out of the realm of pure text-editor
Agreed. Maybe that’s why I said it’s an “OK” task for Notepad++ and not “a great” task. :-)
why create an object with the init, rather than just have a T11987() function instead?
It’s just my new framework for scripts (I copy from some boilerplate when I make a new script). Obviously in this case it is fairly trivial, but in scripts that use callbacks a object-based approach has bigger benefits. I picked up on this by observing how @Ekopalypse does some of the more complicated scripts he’s presented. BTW, I picked up on using the topic/posting id in the name of a script/function/class from YOU. :-)