thehogfather / brackets-code-folding

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

Themeable folded left-right arrow. #110

Closed whaaaley closed 9 years ago

whaaaley commented 9 years ago

The down and right fold arrows are added in CSS like this:

&-open:after,
&-folded:after {
    content: '\foo`; // arrow
}

Could this be changed for the left-right arrow after the block of code has been folded? I'd like to theme this and change the left-right arrow to an ellipsis. Right now it looks like it's being added with JavaScript instead.

A quick hack was to remove the character from line 55 in foldhelpers/foldcode.js.

thehogfather commented 9 years ago

This should now be possible by styling .CodeMirror-foldmarker:after { content: "\foo";}