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

Match prefixes of `ref` and `cite` up to 16 characters

Shane Kilkelly 9 лет назад
Родитель
Сommit
b4e2dcf7ef

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

@@ -251,11 +251,11 @@ define [
 		blacklistedCommandRegex: ///
 		blacklistedCommandRegex: ///
 			\\                    # initial backslash
 			\\                    # initial backslash
 			(label                # any of these commands
 			(label                # any of these commands
-			|[a-z]{0,2}ref
+			|[a-z]{0,16}ref
 			|usepackage
 			|usepackage
 			|begin
 			|begin
 			|end
 			|end
-			|[a-z]{0,2}cite
+			|[a-z]{0,16}cite
 			|input
 			|input
 			|include
 			|include
 			|includegraphics)
 			|includegraphics)