Bug 303805 - tab switching via command+option arrows

p=gijskruitbosch@gmail.com
r=samuel@sieb.net
chatzilla only
This commit is contained in:
samuel%sieb.net 2005-11-03 05:32:27 +00:00
Родитель a975685dfa
Коммит 47365c41d2
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -360,6 +360,11 @@ function onInputKeyPress (e)
onInputCompleteLine (e);
break;
case 37: /* left */
if (e.altKey && e.metaKey)
cycleView(-1);
break;
case 38: /* up */
if (e.ctrlKey || e.metaKey)
{
@ -383,6 +388,11 @@ function onInputKeyPress (e)
e.preventDefault();
break;
case 39: /* right */
if (e.altKey && e.metaKey)
cycleView(+1);
break;
case 40: /* down */
if (client.lastHistoryReferenced > 0)
e.target.value =