Programmatically minimize code in ACE Editor

ACE (Bespin successsor) has a code folding function. In addition, there is a changeFold event that fires when the code is collapsed or expanded.

How do I run / collapse code with JavaScript?

those. collapse code for a function starting with line N.

+8
javascript ace-editor
source share

All Articles