mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 06:54:12 +01:00
Fix stupid autocomplete sluggishness.
This commit is contained in:
@@ -492,9 +492,10 @@ function CommandLine() //{{{
|
||||
statusline.updateProgress("match " + (completions.selected + 1) + " of " + completions.items.length);
|
||||
});
|
||||
|
||||
var autocompleteTimer = new Timer(201, 500, function autocompleteTell(tabPressed) {
|
||||
var autocompleteTimer = new Timer(200, 500, function autocompleteTell(tabPressed) {
|
||||
if (events.feedingKeys || !completions)
|
||||
return;
|
||||
|
||||
completions.complete(true, false);
|
||||
completions.itemList.show();
|
||||
});
|
||||
@@ -1649,8 +1650,6 @@ function CommandLine() //{{{
|
||||
*/
|
||||
resetCompletions: function resetCompletions()
|
||||
{
|
||||
autocompleteTimer.reset();
|
||||
|
||||
// liberator.dump("Resetting completions...");
|
||||
if (completions)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user