From 42341f2b2f1ded62a9fa7be6acaec3b8af88686d Mon Sep 17 00:00:00 2001 From: Jean-Tiare Le Bigot Date: Thu, 24 Nov 2011 15:29:45 +0100 Subject: [PATCH] handle shift+tab, trivial fix --- static/js/ace2_inner.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/static/js/ace2_inner.js b/static/js/ace2_inner.js index f45c61b23..9c647b6df 100644 --- a/static/js/ace2_inner.js +++ b/static/js/ace2_inner.js @@ -3580,15 +3580,9 @@ function OUTER(gscope) function doTabKey(shiftDown) { - if (shiftDown === true){ - doDeleteKey(); - } - else + if (!doIndentOutdent(shiftDown)) { - if (!doIndentOutdent(shiftDown)) - { - performDocumentReplaceSelection(THE_TAB); - } + performDocumentReplaceSelection(THE_TAB); } }