1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 23:37:58 +01:00

Fix listing output visual bug.

This commit is contained in:
Kris Maglione
2008-11-29 07:36:24 +00:00
parent fe6d9e2578
commit ae5ed5b795
2 changed files with 4 additions and 5 deletions

View File

@@ -1130,7 +1130,6 @@ function Completion() //{{{
{ template.completionRow(context.title, "CompTitle") }
{ template.map(context.items, function (item) context.createRow(item), null, 100) }
</div>);
commandline.clear();
commandline.echo(list, commandline.HL_NORMAL, commandline.FORCE_MULTILINE);
},

View File

@@ -369,7 +369,7 @@ function CommandLine() //{{{
* after interpolated data.
*/
XML.ignoreWhitespace = typeof str == "xml";
let output = util.xmlToDom(<div class={"ex-command-output " + highlightGroup}>{template.maybeXML(str)}</div>, doc);
let output = util.xmlToDom(<div class={"ex-command-output "} highlight={highlightGroup}>{template.maybeXML(str)}</div>, doc);
XML.ignoreWhitespace = true;
lastMowOutput = output;
@@ -753,11 +753,11 @@ function CommandLine() //{{{
liberator.callInMainThread(function () {
let where = setLine;
if (flags & this.FORCE_MULTILINE)
if (flags & commandline.FORCE_MULTILINE)
where = setMultiline;
else if (flags & this.FORCE_SINGLELINE)
else if (flags & commandline.FORCE_SINGLELINE)
where = function () setLine(str, highlightGroup, true);
else if (flags & this.DISALLOW_MULTILINE)
else if (flags & commandline.DISALLOW_MULTILINE)
{
if (!outputContainer.collapsed)
where = null;