From c8906d4123f169a42ce76b283b5cb0f377127803 Mon Sep 17 00:00:00 2001 From: nightwing Date: Sat, 19 Nov 2011 23:53:06 +0400 Subject: [PATCH] do not emit paste on indent --- lib/ace/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ace/editor.js b/lib/ace/editor.js index 34725bd4..9b34b9b0 100644 --- a/lib/ace/editor.js +++ b/lib/ace/editor.js @@ -773,7 +773,7 @@ var Editor = function(renderer, session) { indentString = lang.stringRepeat(" ", count); } else indentString = "\t"; - return this.onTextInput(indentString, true); + return this.insert(indentString); } };