move textarea and gutter-line-highlight to main cursor

This commit is contained in:
nightwing 2013-02-04 18:06:43 +04:00
commit 83cf35e7ea

View file

@ -170,7 +170,7 @@ var Cursor = function(parentEl) {
selections = [{cursor: null}];
}
for (var i = selections.length; i--; ) {
for (var i = 0, n = selections.length; i < n; i++) {
var pixelPos = this.getPixelPosition(selections[i].cursor, true);
if ((pixelPos.top > config.height + config.offset ||
pixelPos.top < -config.offset) && i > 1) {