Last Modified: Sun, 06 Feb 2011 22:23:41 +0000 ; Created: Sun, 06 Feb 2011 22:23:41 +0000
NotePad++ Line Inserter Plug-in
So I've written a plug-in that will insert " at the beginning and end of all lines in the current document.
You need to (manually) install the NppScripting plug-in by Kremer Eugen (http://www.softwarecanoe.de/data/nppscripting.zip) and copy the lineinserter.js file into the "includes" folder for that plug-in. I wanted to make it prompt for the text to insert, but there isn't a good API in the NppScripting plug-in for doing so. I tried the provided Dialog class, but the IE window wouldn't open with focus on Windows 7. Any ideas on how to prompt the user for input? Downloads: |
|