handle shift+tab, trivial fix

This commit is contained in:
Jean-Tiare Le Bigot 2011-11-24 15:29:45 +01:00
parent ccaa21a04a
commit 42341f2b2f
1 changed files with 2 additions and 8 deletions

View File

@ -3579,18 +3579,12 @@ function OUTER(gscope)
editorInfo.ace_doIndentOutdent = doIndentOutdent; editorInfo.ace_doIndentOutdent = doIndentOutdent;
function doTabKey(shiftDown) function doTabKey(shiftDown)
{
if (shiftDown === true){
doDeleteKey();
}
else
{ {
if (!doIndentOutdent(shiftDown)) if (!doIndentOutdent(shiftDown))
{ {
performDocumentReplaceSelection(THE_TAB); performDocumentReplaceSelection(THE_TAB);
} }
} }
}
function doDeleteKey(optEvt) function doDeleteKey(optEvt)
{ {