1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 05:07:59 +01:00

Fix a thing

This commit is contained in:
Kris Maglione
2008-12-20 11:04:18 -05:00
parent b8b708abcb
commit 549ecd561a
2 changed files with 6 additions and 6 deletions

View File

@@ -1641,8 +1641,8 @@ function Marks() //{{{
return {
/**
* Add a named for the current buffer, at its current position. If
* mark matches [A-Z], it's considered a URL mark, and will jump to
* Add a named mark for the current buffer, at its current position.
* If mark matches [A-Z], it's considered a URL mark, and will jump to
* the same position at the same URL no matter what buffer it's
* selected from. If it matches [a-z'"], it's a local mark, and can
* only be recalled from a buffer with a matching URL.

View File

@@ -267,7 +267,6 @@ function CommandLine() //{{{
substring = substring.substr(value.length);
this.removeSubstring = substring;
// highlight="Preview" won't work in the editor.
let node = util.xmlToDom(<span highlight="Preview">{substring}</span>,
document);
let start = this.caret;
@@ -1074,8 +1073,6 @@ function CommandLine() //{{{
}
else if (event.type == "input")
{
if (completions)
completions.previewClear();
this.resetCompletions();
liberator.triggerCallback("change", currentExtendedMode, command);
}
@@ -1434,7 +1431,10 @@ function CommandLine() //{{{
{
autocompleteTimer.reset();
if (completions)
completions.reset();
{
completions.wildIndex = -1;
completions.previewClear();
}
if (history)
history.reset();
}