1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 19:44:13 +01:00

Add Find highlight group.

This commit is contained in:
Kris Maglione
2011-04-01 18:20:58 -04:00
parent a52a0dc61f
commit b181d7164f
6 changed files with 30 additions and 5 deletions

View File

@@ -648,10 +648,9 @@ var CommandLine = Module("commandline", {
* @param {XML} xml The output as an E4X XML object.
*/
commandOutput: function commandOutput(xml) {
XML.ignoreWhitespace = false;
XML.prettyPrinting = false;
XML.ignoreWhitespace = XML.prettyPrinting = false;
if (this.command)
this.echo(<>:{this.command}{xml}</>, this.HIGHLIGHT_NORMAL, this.FORCE_MULTILINE);
this.echo(<><div xmlns={XHTML}>:{this.command}</div>&#x0d;{xml}</>, this.HIGHLIGHT_NORMAL, this.FORCE_MULTILINE);
else
this.echo(xml, this.HIGHLIGHT_NORMAL, this.FORCE_MULTILINE);
this.command = null;