diff --git a/content/liberator.js b/content/liberator.js index 3f999e91..eddaed19 100644 --- a/content/liberator.js +++ b/content/liberator.js @@ -26,6 +26,8 @@ the provisions above, a recipient may use your version of this file under the terms of any one of the MPL, the GPL or the LGPL. }}} ***** END LICENSE BLOCK *****/ +const plugins = {}; + const liberator = (function () //{{{ { //////////////////////////////////////////////////////////////////////////////// @@ -1055,7 +1057,7 @@ const liberator = (function () //{{{ // v.plugins.mode = string to show on v.modes.CUSTOM // v.plugins.stop = hooked on a v.modes.reset() // v.plugins.onEvent = function triggered, on keypresses (unless ) (see events.js) - plugins: {}, + plugins: plugins, pluginFiles: {}, diff --git a/content/ui.js b/content/ui.js index fc47c617..00c79822 100644 --- a/content/ui.js +++ b/content/ui.js @@ -536,7 +536,6 @@ function CommandLine() //{{{ HL_WARNINGMSG : "hl-WarningMsg", HL_LINENR : "hl-LineNr", - // not yet used FORCE_MULTILINE : 1 << 0, FORCE_SINGLELINE : 1 << 1, DISALLOW_MULTILINE : 1 << 2, // if an echo() should try to use the single line @@ -1205,6 +1204,7 @@ function CommandLine() //{{{ { if (!open && outputContainer.collapsed) return; + let doc = multilineOutputWidget.contentDocument; outputContainer.collapsed = true; let availableHeight = 250;