Open klwemu opened 9 years ago
Look completly same, but ....
First image is from CM Demo Page (http://codemirror.net/2/demo/folding.html)
2nd Img is with ui-cm ... (represents line 33 in ui-codemirror.js)
The nearly same textarea object creates 2 different CM objects.
DOES NOBODY NEED/USE CODE FOLDING?
CodeMirror offers nice CodeFolding. Demo: http://codemirror.net/2/demo/folding.html
With ui-cm Directive it does not work. I use something like this ....
But when clicked into the guttter zone, the tagRangeFinder runs in an endless loop. The only one difference I found to the original example, ui-cm return a different object.