sieukrem / jn-npp-plugin

Plugin for Notepad++ allowing you to automate some tasks using JavaScript
https://github.com/sieukrem/jn-npp-plugin/wiki
110 stars 24 forks source link

Delete current line? #49

Closed fspafford closed 7 years ago

fspafford commented 7 years ago

How would you recommend using jN to delete the current line in the current view?

(I do this from Notepad++ using control-L. Can I also do this from jN?)

Regards, Frank

sieukrem commented 7 years ago

Yes, you can! For example currentView.lines.get(currentView.line).text = ""

fspafford commented 7 years ago

Nice! Thanks!