From b4e2dcf7efab2bc0b187489e6803392c5e12e46f Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Tue, 20 Jun 2017 08:46:28 +0100 Subject: [PATCH] Match prefixes of `ref` and `cite` up to 16 characters --- .../directives/aceEditor/spell-check/SpellCheckManager.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/public/coffee/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.coffee b/services/web/public/coffee/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.coffee index 48870b9ba2..71b52a4f38 100644 --- a/services/web/public/coffee/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.coffee +++ b/services/web/public/coffee/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.coffee @@ -251,11 +251,11 @@ define [ blacklistedCommandRegex: /// \\ # initial backslash (label # any of these commands - |[a-z]{0,2}ref + |[a-z]{0,16}ref |usepackage |begin |end - |[a-z]{0,2}cite + |[a-z]{0,16}cite |input |include |includegraphics)