allow tabs to be cycled when focus is in editor

pull/2080/head
John McLear 2014-02-01 07:05:25 +00:00
parent b6f354a2de
commit 7151e7827a
1 changed files with 1 additions and 1 deletions

View File

@ -3750,7 +3750,7 @@ function Ace2Inner(){
specialHandled = true;
}
if((evt.which == 36 && evt.ctrlKey == true)){ setScrollY(0); } // Control Home send to Y = 0
if((evt.which == 33 || evt.which == 34) && type == 'keydown'){
if((evt.which == 33 || evt.which == 34) && type == 'keydown' && !evt.ctrlKey){
evt.preventDefault(); // This is required, browsers will try to do normal default behavior on page up / down and the default behavior SUCKS