Merge pull request #1805 from creationix/master

Two tiny fixes I made while working on Tedit
This commit is contained in:
Harutyun Amirjanyan 2014-02-07 21:14:52 +01:00
commit aab8b7f7a8
2 changed files with 3 additions and 4 deletions

View file

@ -61,7 +61,7 @@ exports.$detectIndentation = function(lines, fallback) {
prevSpaces = spaces;
// ignore lines ending with backslash
while (line[line.length - 1] == "\\")
while (i < max && line[line.length - 1] == "\\")
line = lines[i++];
}

View file

@ -50,8 +50,7 @@
}
.ace-kuroir .ace_fold {
background-color: ;
border-color: #363636;
border-color: #363636;
}
@ -65,4 +64,4 @@ color:#FD1732;
background-color:#E8E9E8;}.ace-kuroir .ace_string{color:#639300;}.ace-kuroir .ace_string.ace_regexp{color:#417E00;
background-color:#C9D4BE;}.ace-kuroir .ace_comment{color:rgba(148, 148, 148, 0.91);
background-color:rgba(220, 220, 220, 0.56);}.ace-kuroir .ace_variable{color:#009ACD;}.ace-kuroir .ace_meta.ace_tag{color:#005273;}.ace-kuroir .ace_markup.ace_heading{color:#B8012D;
background-color:rgba(191, 97, 51, 0.051);}.ace-kuroir .ace_markup.ace_list{color:#8F5B26;}
background-color:rgba(191, 97, 51, 0.051);}.ace-kuroir .ace_markup.ace_list{color:#8F5B26;}