Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
fix folding.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Apr 7, 2014
1 parent fedbfd7 commit 5bbc698
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elements/designer-element/designer-element.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@
var c = cm.getSearchCursor('<style>');
if (c.find()) {
var l = c.pos.from.line;
cm.foldCode(l);
cm.setSelection({line: l})
cm.foldCode(l);
cm.execCommand('goLineDown');
cm.execCommand('goLineStart');
cm.execCommand('goLineStartSmart');
}
},

Expand Down

0 comments on commit 5bbc698

Please sign in to comment.