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

add some missing fold markers

This commit is contained in:
Doug Kearns
2008-05-17 16:04:24 +00:00
parent 8a1162349a
commit f43fc67115
11 changed files with 10 additions and 32 deletions

View File

@@ -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 = "<span style=\"color: gray;\"> (tags: <span style=\"color: blue;\">" + liberator.util.escapeHTML(tags) + "</span>)</span>";
}
list += "<tr><td>" + title + "</td><td style=\"width: 100%\"><a href=\"#\" class=\"hl-URL\">" + url + "</a>" + extra + "</td></tr>";
}
list += "</table>";

View File

@@ -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;
@@ -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:

View File

@@ -779,7 +779,6 @@ liberator.Editor = function () //{{{
if (textBox)
textBox.removeAttribute("readonly");
// if (v:shell_error != 0)
// {
// tmpBg = "red";

View File

@@ -1171,7 +1171,6 @@ liberator.Events = function () //{{{
// return true;
// } }}}
if (key != "<Esc>" && key != "<C-[>")
{
// custom mode...

View File

@@ -616,7 +616,6 @@ liberator.Hints = function () //{{{
},
{ flags: liberator.Mappings.flags.ARGUMENT });
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// PUBLIC SECTION //////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{

View File

@@ -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

View File

@@ -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, ["<C-i>"],
"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:

View File

@@ -434,6 +434,7 @@ liberator.Mappings = function () //{{{
}
};
//}}}
}; //}}}
// vim: set fdm=marker sw=4 ts=4 et:

View File

@@ -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:

View File

@@ -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); });

View File

@@ -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: