Ver Fonte

Add comment about ignoring comments

Shane Kilkelly há 9 anos atrás
pai
commit
e2bff06aeb

+ 1 - 0
services/web/public/coffee/ide/editor/directives/aceEditor/auto-complete/SuggestionManager.coffee

@@ -39,6 +39,7 @@ define [], () ->
 			return commands
 			return commands
 
 
 		# Ignore single letter commands since auto complete is moot then.
 		# Ignore single letter commands since auto complete is moot then.
+		# Ignore commands which occur after a comment character '%'
 		commandRegex: /^[^%]*?\\([a-zA-Z][a-zA-Z]+).*$/m
 		commandRegex: /^[^%]*?\\([a-zA-Z][a-zA-Z]+).*$/m
 
 
 		nextCommand: () ->
 		nextCommand: () ->