Remove 'border' from ace_fold as it misaligned the lines. Fix screenToDocumentRow
This commit is contained in:
parent
068e289f17
commit
273a1e41d1
2 changed files with 2 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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 {\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue