show active line in if selection mode is "text"
This commit is contained in:
parent
e6ecf09139
commit
ff2f685f39
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ var Editor = function(renderer, doc) {
|
|||
}
|
||||
this.$highlightLineMarker = null;
|
||||
|
||||
if (this.getHighlightActiveLine() && !this.selection.isMultiLine()) {
|
||||
if (this.getHighlightActiveLine() && (this.getSelectionStyle() != "line" || !this.selection.isMultiLine())) {
|
||||
var cursor = this.getCursorPosition();
|
||||
var range = new Range(cursor.row, 0, cursor.row+1, 0);
|
||||
this.$highlightLineMarker = this.renderer.addMarker(range, "ace_active_line", "line");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue