Remove 'border' from ace_fold as it misaligned the lines. Fix screenToDocumentRow

This commit is contained in:
Julian Viereck 2011-04-24 22:42:13 +02:00
commit 273a1e41d1
2 changed files with 2 additions and 3 deletions

View file

@ -1217,7 +1217,7 @@ var EditSession = function(text, mode) {
screenColumn = 0;
// throw "Need to pass in screenColumn";
}
return this.$screenToDocumentRow(screenRow)[0];
return this.screenToDocumentPosition(screenRow, screenColumn).row;
};
this.screenToDocumentColumn = function(screenRow, screenColumn) {

View file

@ -108,8 +108,7 @@ define(function(require, exports, module) {
\
.ace-tm .ace_line .ace_fold {\
background-color: #E4E4E4;\
border: 1px solid rgba(0, 0, 0, 0.3);\
border-radius: 5px;\
border-radius: 3px;\
}\
\
.ace-tm .ace_line .ace_support.ace_function {\