Merge remote-tracking branch 'origin/master' into indent_guides
Conflicts: lib/ace/theme/textmate.css
This commit is contained in:
commit
768bfbb1f2
19 changed files with 155 additions and 153 deletions
|
|
@ -115,10 +115,10 @@ MockRenderer.prototype.scrollToX = function(scrollTop) {};
|
|||
MockRenderer.prototype.scrollToY = function(scrollLeft) {};
|
||||
|
||||
MockRenderer.prototype.scrollToLine = function(line, center) {
|
||||
var lineHeight = { lineHeight: 16 };
|
||||
var lineHeight = 16;
|
||||
var row = 0;
|
||||
for (var l = 1; l < line; l++) {
|
||||
row += this.session.getRowHeight(lineHeight, l-1) / lineHeight.lineHeight;
|
||||
row += this.session.getRowLength(l-1);
|
||||
}
|
||||
|
||||
if (center) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue