Преглед на файлове

Add spell check underline to front marker layer

James Allen преди 12 години
родител
ревизия
9db2fc93a4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      services/web/public/coffee/ide/editor/directives/aceEditor/spell-check/HighlightedWordManager.coffee

+ 1 - 1
services/web/public/coffee/ide/editor/directives/aceEditor/spell-check/HighlightedWordManager.coffee

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