فهرست منبع

Simplified and faster blanking

Shane Kilkelly 9 سال پیش
والد
کامیت
3d2d7652c6

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

@@ -265,10 +265,4 @@ define [
 
 		blankOutBlacklistedCommands: (line) ->
 			line.replace @blacklistedCommandRegex, (command) ->
-				command.replace(
-					/{.*}/, (args) ->
-						'{' + args.slice(1, args.length-1).split('').map((_char)-> '.').join('') + '}'
-				).replace(
-					/\[.*\]/, (args) ->
-						'[' + args.slice(1, args.length-1).split('').map((_char)-> '.').join('') + ']'
-				)
+				Array(command.length+1).join('.')