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

Update word regex for spellcheck

Adds Latin Extended-A characters to word regex to prevent splitting words half way through on characters like ąęćółżźńś.
Mick O'Brien 11 лет назад
Родитель
Сommit
9f037384b6

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

@@ -171,7 +171,7 @@ define [
 			positions = []
 			for line, row in lines
 				if !linesToProcess? or linesToProcess[row]
-					wordRegex = /\\?['a-zA-Z\u00C0-\u00FF]+/g
+					wordRegex = /\\?['a-zA-Z\u00C0-\u017F]+/g
 					while (result = wordRegex.exec(line))
 						word = result[0]
 						if word[0] == "'"