Просмотр исходного кода

Add spell check underline to front marker layer

James Allen 12 лет назад
Родитель
Сommit
9db2fc93a4

+ 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.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].push highlight