Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 82afac3

Browse files
committed
Fix stray tab chars
Remove unused `#code-folding-settings-dialog` CSS rule Fix some comment whitespace
1 parent 5796409 commit 82afac3

File tree

2 files changed

+18
-28
lines changed

2 files changed

+18
-28
lines changed

src/extensions/default/CodeFolding/main.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ define(function (require, exports, module) {
4040
ProjectManager = brackets.getModule("project/ProjectManager"),
4141
KeyBindingManager = brackets.getModule("command/KeyBindingManager"),
4242
ExtensionUtils = brackets.getModule("utils/ExtensionUtils"),
43-
Menus = brackets.getModule("command/Menus"),
43+
Menus = brackets.getModule("command/Menus"),
4444
prefs = require("Prefs"),
4545
COLLAPSE_ALL = "codefolding.collapse.all",
4646
COLLAPSE = "codefolding.collapse",
@@ -55,14 +55,14 @@ define(function (require, exports, module) {
5555

5656
ExtensionUtils.loadStyleSheet(module, "main.less");
5757

58-
//load code mirror addons
58+
// Load CodeMirror addons
5959
brackets.getModule(["thirdparty/CodeMirror2/addon/fold/brace-fold"]);
6060
brackets.getModule(["thirdparty/CodeMirror2/addon/fold/comment-fold"]);
6161
brackets.getModule(["thirdparty/CodeMirror2/addon/fold/markdown-fold"]);
6262

63-
//still using slightly modified versions of the foldcode.js and foldgutter.js since we
64-
//need to modify the gutter click handler to take care of some collapse and expand features
65-
//e.g. collapsing all children when 'alt' key is pressed
63+
// Still using slightly modified versions of the foldcode.js and foldgutter.js since we
64+
// need to modify the gutter click handler to take care of some collapse and expand features
65+
// e.g. collapsing all children when 'alt' key is pressed
6666
var foldGutter = require("foldhelpers/foldgutter"),
6767
foldCode = require("foldhelpers/foldcode"),
6868
indentFold = require("foldhelpers/indentFold");

src/extensions/default/CodeFolding/main.less

Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
@color-marker-text: #777;
88

99
.CodeMirror-foldgutter {
10-
&-open:after {
11-
content: "\25bc";
12-
font-size: @font-size;
13-
color: @color-triangle;
14-
}
15-
&-folded:after {
16-
content: "\25b6";
17-
font-size: @font-size;
18-
color: @color-triangle-collapsed;
19-
}
10+
&-open:after {
11+
content: "\25bc";
12+
font-size: @font-size;
13+
color: @color-triangle;
14+
}
15+
&-folded:after {
16+
content: "\25b6";
17+
font-size: @font-size;
18+
color: @color-triangle-collapsed;
19+
}
2020
}
2121

2222
.CodeMirror.over-gutter, .CodeMirror-activeline {
@@ -53,21 +53,11 @@
5353
margin-left: 3px;
5454
border-radius: 3px;
5555
cursor: pointer;
56-
border: 1px solid @color-marker-border;
57-
color: @color-marker-text;
58-
background-color: @color-marker-bg;
56+
border: 1px solid @color-marker-border;
57+
color: @color-marker-text;
58+
background-color: @color-marker-bg;
5959

6060
&:after {
6161
content: "\27f7";
6262
}
6363
}
64-
65-
#code-folding-settings-dialog {
66-
label {
67-
width: 40%;
68-
padding-right: 10px;
69-
}
70-
input[type=number] {
71-
width: 40px;
72-
}
73-
}

0 commit comments

Comments
 (0)