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

API to fold/unfold code sections #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I wanted to make a script that will fold all JSDoc comments in the file 
currently edited, but it seems jN hasn't got API for this. Have I overlooked it?

Original issue reported on code.google.com by thorn.mailbox@gmail.com on 16 Sep 2014 at 6:51

GoogleCodeExporter commented 9 years ago
There is no direct API provided by jN. One have to use wrapper realising this 
via Win32 calls. It is really easy 
[https://code.google.com/p/jn-npp-plugin/wiki/DirectCallsToScintilla#Folding_of_
foldable_region take a look]

Original comment by eugen.kr...@gmail.com on 16 Sep 2014 at 7:21