1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 21:02:25 +01:00

Dont allow <holding-tab> to lag

This commit is contained in:
Kris Maglione
2008-12-08 08:37:08 -05:00
parent 7b7fbdd935
commit 485579738d
3 changed files with 7 additions and 7 deletions

View File

@@ -1493,7 +1493,7 @@ function Completion() //{{{
context.fork("keyword/" + keyword, keyword.length + space.length, null, function (context) {
context.format = history.format;
context.title = [keyword + " Quick Search"];
context.background = true;
// context.background = true;
context.compare = null;
context.generate = function () {
let [begin, end] = item.url.split("%s");

View File

@@ -74,9 +74,6 @@ const modes = (function () //{{{
// for its cleanup here
function handleModeChange(oldMode, newMode)
{
// TODO: fix v.log() to work with verbosity level
//liberator.log("switching from mode " + oldMode + " to mode " + newMode, 7);
//liberator.dump("switching from mode " + oldMode + " to mode " + newMode + "\n");
switch (oldMode)
{
@@ -220,7 +217,6 @@ const modes = (function () //{{{
reset: function (silent)
{
modeStack = [];
liberator.dump("reset");
if (config.isComposeWindow)
this.set(modes.COMPOSE, modes.NONE, silent);
else

View File

@@ -1095,8 +1095,7 @@ function CommandLine() //{{{
event.preventDefault();
event.stopPropagation();
// tabTimer.tell(event);
completions.tab(event.shiftKey);
tabTimer.tell(event);
return false;
}
else if (key == "<BS>")
@@ -1118,6 +1117,11 @@ function CommandLine() //{{{
}
return true; // allow this event to be handled by Firefox
}
else if (event.type == "keyup")
{
if (key == "<Tab>" || key == "<S-Tab>")
tabTimer.flush();
}
},
onMultilineInputEvent: function onMultilineInputEvent(event)