thehogfather / brackets-code-folding

Code folding extension for brackets IDE
134 stars 42 forks source link

Error when opening a non-foldable file #14

Closed mmontagnana closed 11 years ago

mmontagnana commented 11 years ago

I've got a Developer Tools' Console in the background, and I noticed that when I open (in Brackets) a file with no folding fatures (for example a text file, or a Markdown file) I get the following exception in the console:

Uncaught TypeError: Cannot call method 'canFold' of undefined   main.js:109
_getCollapsibleLines                                            main.js:109
_decorateGutters                                                main.js:165
(anonymous function)                                            main.js:271

There's no lack of functionality, anyway.

thehogfather commented 11 years ago

good shout :+1:

Cheers!

mmontagnana commented 11 years ago

Thanks for the fast answer on both issues.

Cheers!