Correctly render cursors on reversed selections

This commit is contained in:
Nathan Sobo
2017-03-10 10:23:01 -07:00
committed by Antonio Scandurra
parent 8f385377cf
commit 3f4cd5e438

View File

@@ -441,7 +441,7 @@ class TextEditorComponent {
this.addHighlightDecorationToMeasure(decoration, screenRange)
break
case 'cursor':
this.addCursorDecorationToMeasure(marker, screenRange)
this.addCursorDecorationToMeasure(marker, screenRange, reversed)
break
}
}