Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

set initial value for code folding

  • Loading branch information...
commit f3796ed4d28f51d5bc6342aabf94e808931e2c2e 1 parent dd18d61
@fjakobs fjakobs authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  elements/codeeditor.js
View
2  elements/codeeditor.js
@@ -659,6 +659,8 @@ apf.codeeditor = module.exports = function(struct, tagName) {
this.autohidehorscrollbar = !ed.renderer.getHScrollBarAlwaysVisible();
if (this.behaviors === undefined)
this.behaviors = !ed.getBehavioursEnabled();
+ if (this.folding === undefined)
+ this.folding = true;
};
// #ifdef __WITH_DATABINDING
Please sign in to comment.
Something went wrong with that request. Please try again.