1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 17:04:12 +01:00

Fix completion filter highlighting.

This commit is contained in:
Kris Maglione
2010-12-22 20:44:40 -05:00
parent c6462e49b3
commit 03b179433d
2 changed files with 2 additions and 2 deletions

View File

@@ -96,7 +96,7 @@
</vbox>
</vbox>
<statusbar id="status-bar" dactyl:highlight="StatusLine">
<statusbar id="status-bar" dactyl:highlight="StatusLine StatusNormal">
<hbox insertbefore="&dactyl.statusBefore;" insertafter="&dactyl.statusAfter;"
style="background: inherit;" id="&status;container" flex="1" hidden="false" align="center">
<stack orient="horizontal" align="stretch" flex="1" class="dactyl-container" dactyl:highlight="CmdLine StatusCmdLine">

View File

@@ -173,7 +173,7 @@ const Template = Module("Template", {
break;
XML.ignoreWhitespace = false;
s += <>{str.substring(start, i)}</>;
s += highlight.apply(this, Array.slice(args || str.substr(i, length)));
s += highlight.apply(this, Array.concat(args || str.substr(i, length)));
start = i + length;
}
return s + <>{str.substr(start)}</>;