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

fixed ]f and :b!<tab> - thanks anekos

This commit is contained in:
Martin Stubenschrott
2008-10-09 23:33:02 +00:00
parent 1b093e51cc
commit e13bfac5c1
2 changed files with 3 additions and 4 deletions

View File

@@ -1534,9 +1534,8 @@ liberator.Buffer = function () //{{{
// add the frame indicator // add the frame indicator
var doc = frames[next].document; var doc = frames[next].document;
var indicator = var indicator = liberator.util.xmlToDom(<div id="liberator-frame-indicator"/>, doc);
<div id="liberator-frame-indicator"/>; doc.body.appendChild(indicator);
doc.body.appendChild(liberator.util.xmlToDom(indicator));
// remove the frame indicator // remove the frame indicator
setTimeout(function () { doc.body.removeChild(indicator); }, 500); setTimeout(function () { doc.body.removeChild(indicator); }, 500);

View File

@@ -825,7 +825,7 @@ liberator.Completion = function () //{{{
var command = liberator.commands.get(cmd); var command = liberator.commands.get(cmd);
if (command && command.completer) if (command && command.completer)
{ {
matches = str.match(/^:*\d*\w+!?\s+/); matches = str.match(/^:*\d*\w+[\s!]\s*/);
exLength = matches ? matches[0].length : 0; exLength = matches ? matches[0].length : 0;
[start, completions] = command.completer.call(this, args, special); [start, completions] = command.completer.call(this, args, special);
} }