mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-10 07:38:04 +01:00
Fix completion filter highlighting.
This commit is contained in:
@@ -96,7 +96,7 @@
|
|||||||
</vbox>
|
</vbox>
|
||||||
</vbox>
|
</vbox>
|
||||||
|
|
||||||
<statusbar id="status-bar" dactyl:highlight="StatusLine">
|
<statusbar id="status-bar" dactyl:highlight="StatusLine StatusNormal">
|
||||||
<hbox insertbefore="&dactyl.statusBefore;" insertafter="&dactyl.statusAfter;"
|
<hbox insertbefore="&dactyl.statusBefore;" insertafter="&dactyl.statusAfter;"
|
||||||
style="background: inherit;" id="&status;container" flex="1" hidden="false" align="center">
|
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">
|
<stack orient="horizontal" align="stretch" flex="1" class="dactyl-container" dactyl:highlight="CmdLine StatusCmdLine">
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ const Template = Module("Template", {
|
|||||||
break;
|
break;
|
||||||
XML.ignoreWhitespace = false;
|
XML.ignoreWhitespace = false;
|
||||||
s += <>{str.substring(start, i)}</>;
|
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;
|
start = i + length;
|
||||||
}
|
}
|
||||||
return s + <>{str.substr(start)}</>;
|
return s + <>{str.substr(start)}</>;
|
||||||
|
|||||||
Reference in New Issue
Block a user