Move spelling marker to back marker layer where it is updated properly by Ace

This commit is contained in:
James Allen 2017-02-07 15:55:00 +01:00
parent 1d09fe2861
commit 11a104ef96

View file

@ -21,7 +21,7 @@ define [
highlight.row, highlight.column,
highlight.row, highlight.column + highlight.word.length
)
highlight.markerId = @editor.getSession().addMarker range, "spelling-highlight", null, true
highlight.markerId = @editor.getSession().addMarker range, "spelling-highlight", 'text', false
@highlights.rows[highlight.row] ||= []
@highlights.rows[highlight.row].push highlight