Skip to content

Commit

Permalink
Fix CodeFolding to work better in Bramble, turn on by default to aid …
Browse files Browse the repository at this point in the history
…readability
  • Loading branch information
humphd committed Sep 21, 2015
1 parent a434263 commit aec8897
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ A standard set of default extensions are always turned on:
* Autosave
* UploadFiles
* WebPlatformDocs
* CodeFolding

You could disable QuickView and CSSCodeHints by loading Bramble with `?disableExtensions=QuickView,CSSCodeHints`
on the URL.
Expand All @@ -95,7 +96,6 @@ In addition, you can enable other extra extensions:
* LESSSupport
* CloseOthers
* InlineTimingFunctionEditor
* CodeFolding
* JSLint
* QuickOpenCSS
* RecentProjects
Expand Down
2 changes: 2 additions & 0 deletions src/extensions/default/CodeFolding/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/extensions/default/CodeFolding/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ define(function (require, exports, module) {
collapseAllKey = "Alt-1",
expandAllKey = "Shift-Alt-1";

ExtensionUtils.loadStyleSheet(module, "main.less");
ExtensionUtils.loadStyleSheet(module, "main.css");

// Load CodeMirror addons
brackets.getModule(["thirdparty/CodeMirror/addon/fold/brace-fold"]);
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/default/bramble/stylesheets/darkTheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ div.CodeMirror-selected {
color: #75715E;
}
.CodeMirror-foldgutter-open::after {
content: "\25bd";
content: "\25bc";
}
.CodeMirror-foldmarker {
background-color: #333;
Expand Down
2 changes: 1 addition & 1 deletion src/utils/BrambleExtensionLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ define(function (require, exports, module) {
"QuickOpenJavaScript",
"QuickView",
"WebPlatformDocs",
"CodeFolding",

// Custom extensions we want loaded by default
"bramble",
Expand All @@ -47,7 +48,6 @@ define(function (require, exports, module) {
"LESSSupport",
"CloseOthers",
"InlineTimingFunctionEditor",
"CodeFolding",
"JSLint",
"QuickOpenCSS",
"RecentProjects",
Expand Down

0 comments on commit aec8897

Please sign in to comment.