mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 05:27:58 +01:00
Fix listing output visual bug.
This commit is contained in:
@@ -1130,7 +1130,6 @@ function Completion() //{{{
|
|||||||
{ template.completionRow(context.title, "CompTitle") }
|
{ template.completionRow(context.title, "CompTitle") }
|
||||||
{ template.map(context.items, function (item) context.createRow(item), null, 100) }
|
{ template.map(context.items, function (item) context.createRow(item), null, 100) }
|
||||||
</div>);
|
</div>);
|
||||||
commandline.clear();
|
|
||||||
commandline.echo(list, commandline.HL_NORMAL, commandline.FORCE_MULTILINE);
|
commandline.echo(list, commandline.HL_NORMAL, commandline.FORCE_MULTILINE);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -369,7 +369,7 @@ function CommandLine() //{{{
|
|||||||
* after interpolated data.
|
* after interpolated data.
|
||||||
*/
|
*/
|
||||||
XML.ignoreWhitespace = typeof str == "xml";
|
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;
|
XML.ignoreWhitespace = true;
|
||||||
|
|
||||||
lastMowOutput = output;
|
lastMowOutput = output;
|
||||||
@@ -753,11 +753,11 @@ function CommandLine() //{{{
|
|||||||
|
|
||||||
liberator.callInMainThread(function () {
|
liberator.callInMainThread(function () {
|
||||||
let where = setLine;
|
let where = setLine;
|
||||||
if (flags & this.FORCE_MULTILINE)
|
if (flags & commandline.FORCE_MULTILINE)
|
||||||
where = setMultiline;
|
where = setMultiline;
|
||||||
else if (flags & this.FORCE_SINGLELINE)
|
else if (flags & commandline.FORCE_SINGLELINE)
|
||||||
where = function () setLine(str, highlightGroup, true);
|
where = function () setLine(str, highlightGroup, true);
|
||||||
else if (flags & this.DISALLOW_MULTILINE)
|
else if (flags & commandline.DISALLOW_MULTILINE)
|
||||||
{
|
{
|
||||||
if (!outputContainer.collapsed)
|
if (!outputContainer.collapsed)
|
||||||
where = null;
|
where = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user