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

Re-focus editor after clicking suggestion

Alasdair Smith 8 лет назад
Родитель
Сommit
309792401f

+ 3 - 0
services/web/public/coffee/ide/editor/directives/aceEditor/spell-check/SpellCheckAdapter.coffee

@@ -51,3 +51,6 @@ define [
 				row, startColumn,
 				row, endColumn
 			), newWord)
+
+			# Bring editor back into focus after clicking on suggestion
+			@editor.focus()