mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 15:22:26 +01:00
fixed ]f and :b!<tab> - thanks anekos
This commit is contained in:
@@ -1534,9 +1534,8 @@ liberator.Buffer = function () //{{{
|
||||
|
||||
// add the frame indicator
|
||||
var doc = frames[next].document;
|
||||
var indicator =
|
||||
<div id="liberator-frame-indicator"/>;
|
||||
doc.body.appendChild(liberator.util.xmlToDom(indicator));
|
||||
var indicator = liberator.util.xmlToDom(<div id="liberator-frame-indicator"/>, doc);
|
||||
doc.body.appendChild(indicator);
|
||||
|
||||
// remove the frame indicator
|
||||
setTimeout(function () { doc.body.removeChild(indicator); }, 500);
|
||||
|
||||
@@ -825,7 +825,7 @@ liberator.Completion = function () //{{{
|
||||
var command = liberator.commands.get(cmd);
|
||||
if (command && command.completer)
|
||||
{
|
||||
matches = str.match(/^:*\d*\w+!?\s+/);
|
||||
matches = str.match(/^:*\d*\w+[\s!]\s*/);
|
||||
exLength = matches ? matches[0].length : 0;
|
||||
[start, completions] = command.completer.call(this, args, special);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user