diff --git a/content/bookmarks.js b/content/bookmarks.js index eff5ce20..92b1b64d 100644 --- a/content/bookmarks.js +++ b/content/bookmarks.js @@ -310,7 +310,6 @@ liberator.Bookmarks = function () //{{{ return i; } - // also update bookmark cache, if we removed at least one bookmark if (count.value > 0) load(); @@ -468,7 +467,6 @@ liberator.Bookmarks = function () //{{{ extra = " (tags: " + liberator.util.escapeHTML(tags) + ")"; } - list += "" + title + "" + url + "" + extra + ""; } list += ""; diff --git a/content/buffer.js b/content/buffer.js index ebb867f4..420b47dd 100644 --- a/content/buffer.js +++ b/content/buffer.js @@ -119,7 +119,6 @@ liberator.Buffer = function () //{{{ return win; } - // both values are given in percent, -1 means no change function scrollToPercentiles(horizontal, vertical) { @@ -139,8 +138,6 @@ liberator.Buffer = function () //{{{ win.scrollTo(h, v); } - - /////////////////////////////////////////////////////////////////////////////}}} ////////////////////// OPTIONS ///////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////{{{ @@ -416,7 +413,6 @@ liberator.Buffer = function () //{{{ "Print file information", function (count) { liberator.buffer.showPageInfo(true); }); - /////////////////////////////////////////////////////////////////////////////}}} ////////////////////// COMMANDS //////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////{{{ @@ -1066,7 +1062,6 @@ liberator.Buffer = function () //{{{ if (liberator.bookmarks.isBookmarked(this.URL)) info.push("bookmarked"); - var pageInfoText = '"' + file + '" [' + info.join(", ") + "] " + title; liberator.echo(pageInfoText, liberator.commandline.FORCE_SINGLELINE); return; @@ -1090,7 +1085,7 @@ liberator.Buffer = function () //{{{ pageGeneral.push(["Mime-Type", content.document.contentType]); pageGeneral.push(["Encoding", content.document.characterSet]); - pageGeneral.push(["Compatibility", content.document.compatMode == "BackCompat" ? "Quirks Mode" : "Full/Almost Standards Mode"]); + pageGeneral.push(["Compatibility", content.document.compatMode == "BackCompat" ? "Quirks Mode" : "Full/Almost Standards Mode"]); if (lastModVerbose) pageGeneral.push(["Last Modified", lastModVerbose]); @@ -1306,8 +1301,6 @@ liberator.Buffer = function () //{{{ //}}} }; //}}} - - liberator.Marks = function () //{{{ { //////////////////////////////////////////////////////////////////////////////// @@ -1434,7 +1427,6 @@ liberator.Marks = function () //{{{ function (arg) { liberator.marks.jumpTo(arg); }, { flags: liberator.Mappings.flags.ARGUMENT }); - /////////////////////////////////////////////////////////////////////////////}}} ////////////////////// COMMANDS //////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////{{{ @@ -1679,5 +1671,4 @@ liberator.Marks = function () //{{{ //}}} }; //}}} - // vim: set fdm=marker sw=4 ts=4 et: diff --git a/content/editor.js b/content/editor.js index 97866402..31af05a1 100644 --- a/content/editor.js +++ b/content/editor.js @@ -779,7 +779,6 @@ liberator.Editor = function () //{{{ if (textBox) textBox.removeAttribute("readonly"); - // if (v:shell_error != 0) // { // tmpBg = "red"; diff --git a/content/events.js b/content/events.js index b3551c4b..cfb02f6b 100644 --- a/content/events.js +++ b/content/events.js @@ -1171,7 +1171,6 @@ liberator.Events = function () //{{{ // return true; // } }}} - if (key != "" && key != "") { // custom mode... diff --git a/content/hints.js b/content/hints.js index b1c974ef..4b504fbd 100644 --- a/content/hints.js +++ b/content/hints.js @@ -616,7 +616,6 @@ liberator.Hints = function () //{{{ }, { flags: liberator.Mappings.flags.ARGUMENT }); - /////////////////////////////////////////////////////////////////////////////}}} ////////////////////// PUBLIC SECTION ////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////{{{ diff --git a/content/io.js b/content/io.js index 419e4f85..7bca5902 100644 --- a/content/io.js +++ b/content/io.js @@ -312,7 +312,6 @@ liberator.IO = function () //{{{ return null; }, - // return a nsILocalFile for path where you can call isDirectory(), etc. on // caller must check with .exists() if the returned file really exists // also expands relative paths diff --git a/content/mail.js b/content/mail.js index d56299f0..243d7a04 100644 --- a/content/mail.js +++ b/content/mail.js @@ -26,7 +26,7 @@ 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 *****/ -liberator.Mail = function () +liberator.Mail = function () //{{{ { //////////////////////////////////////////////////////////////////////////////// ////////////////////// PRIVATE SECTION ///////////////////////////////////////// @@ -367,8 +367,6 @@ liberator.Mail = function () function (count) { liberator.mail.selectMessage(function(msg) { return gDBView.db.HasAttachments(msg.messageKey); }, true, true, true, count); }, { flags: liberator.Mappings.flags.COUNT }); - - // FOLDER SWITCHING liberator.mappings.add(modes, ["gi"], "Go to inbox", @@ -414,7 +412,6 @@ liberator.Mail = function () }, { flags: liberator.Mappings.flags.COUNT }); - // THREADING liberator.mappings.add(modes, ["za"], "Toggle thread collapsed/expanded", @@ -436,7 +433,6 @@ liberator.Mail = function () "Collapse all threads", function () { goDoCommand("cmd_collapseAllThreads"); }); - liberator.mappings.add(modes, [""], "Go forward", function (count) { if (count < 1) count = 1; while (count--) GoNextMessage(nsMsgNavigationType.forward, true); }, @@ -457,7 +453,6 @@ liberator.Mail = function () function (count) { if (count < 1) count = 1; while (count--) GoNextMessage(nsMsgNavigationType.lastMessage, false); }, { flags: liberator.Mappings.flags.COUNT }); - // tagging messages liberator.mappings.add(modes, ["tr"], "Toggle selected messages read", @@ -480,7 +475,6 @@ liberator.Mail = function () MsgMarkThreadAsRead(); }); - liberator.mappings.add(modes, ["ts"], "Toggle selected messages starred", function () @@ -747,7 +741,6 @@ liberator.Mail = function () if (folder.isServer) continue; - selectMessageCount = count; selectMessageKeys = []; @@ -790,6 +783,6 @@ liberator.Mail = function () }; //}}} -}; +}; //}}} // vim: set fdm=marker sw=4 ts=4 et: diff --git a/content/mappings.js b/content/mappings.js index bd0b64f3..ea61936f 100644 --- a/content/mappings.js +++ b/content/mappings.js @@ -434,6 +434,7 @@ liberator.Mappings = function () //{{{ } }; + //}}} }; //}}} // vim: set fdm=marker sw=4 ts=4 et: diff --git a/content/options.js b/content/options.js index b96622fc..cd02a675 100644 --- a/content/options.js +++ b/content/options.js @@ -28,7 +28,7 @@ the terms of any one of the MPL, the GPL or the LGPL. // Do NOT create instances of this class yourself, use the helper method // liberator.options.add() instead -liberator.Option = function (names, description, type, defaultValue, getter, setter, validator, completer) +liberator.Option = function (names, description, type, defaultValue, getter, setter, validator, completer) //{{{ { if (!names || !type) return null; @@ -102,7 +102,6 @@ liberator.Option = function (names, description, type, defaultValue, getter, set }; //}}} - liberator.Options = function () //{{{ { //////////////////////////////////////////////////////////////////////////////// @@ -746,6 +745,7 @@ liberator.Options = function () //{{{ liberator.echoerr("E488: Trailing characters: " + name + "!"); } }; + //}}} }; //}}} // vim: set fdm=marker sw=4 ts=4 et: diff --git a/content/tabs.js b/content/tabs.js index bb072802..1db3dbdc 100644 --- a/content/tabs.js +++ b/content/tabs.js @@ -220,7 +220,6 @@ liberator.Tabs = function () //{{{ liberator.tabs.select(index); }); - /////////////////////////////////////////////////////////////////////////////}}} ////////////////////// COMMANDS //////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////{{{ @@ -312,7 +311,6 @@ liberator.Tabs = function () //{{{ } }); - liberator.commands.add(["tabo[nly]"], "Close all other tabs", function () { liberator.tabs.keepOnly(getBrowser().mCurrentTab); }); diff --git a/content/vimperator.js b/content/vimperator.js index 9589f583..61cf2146 100644 --- a/content/vimperator.js +++ b/content/vimperator.js @@ -26,7 +26,7 @@ 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 *****/ -liberator.config = { +liberator.config = { //{{{ /*** required options, no checks done if they really exist, so be careful ***/ name: "Vimperator", hostApplication: "Firefox", @@ -111,7 +111,7 @@ liberator.config = { liberator.open(matches[1] + newNum + matches[3]); } - /////////////////////////////////////////////////////////////////////////////}}} + //////////////////////////////////////////////////////////////////////////////// ////////////////////// MAPPINGS //////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////{{{ @@ -328,6 +328,7 @@ liberator.config = { completer: function (filter) { return liberator.completion.url(filter); } }); } -} + //}}} +}; //}}} // vim: set fdm=marker sw=4 ts=4 et: