Remove 0 height selection highlight

This commit is contained in:
xixixao 2015-03-25 18:07:38 +00:00
commit 14a8e1f5d9

View file

@ -155,7 +155,7 @@ var Marker = function(parentEl) {
// all the complete lines
height = (range.end.row - range.start.row - 1) * config.lineHeight;
if (height < 0)
if (height <= 0)
return;
top = this.$getTop(range.start.row + 1, config);