How to URL-encode/decode SELECTED text in Notepad++
问题 There is a question here on stack overflow that answers PART of my question (see link) https://stackoverflow.com/a/17431971/2461910 Unfortunately, this solution is cumbersome, because it always encodes/decodes the ENTIRE current document. My question is: How can I change the JavaScript in that solution to only modify whatever text is SELECTED in the current document? I tried using Editor.currentView.selected , but that throws an error when the script runs. If only I could find a document