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

add a new 'visualbellstyle' option

This commit is contained in:
Doug Kearns
2007-09-22 15:44:36 +00:00
parent d490d12c43
commit c80fc67868
4 changed files with 11 additions and 5 deletions

View File

@@ -365,7 +365,7 @@ function Options() //{{{
"<li><b>b</b>: Bookmarks</li>" +
"<li><b>h</b>: History</li></ul>" +
"The order is important, so <code class=\"command\">:set complete=bs</code> would list bookmarks first, and then any available quick searches.<br/>" +
"Add 'sort' to the <code class=\"option\">'wildoptions'</code> option if you want all entries sorted.",
"Add <code class=\"option\">'sort'</code> to the <code class=\"option\">'wildoptions'</code> option if you want all entries sorted.",
default_value: "sfbh",
validator: function (value) { if (/[^sfbh]/.test(value)) return false; else return true; }
}
@@ -595,6 +595,14 @@ function Options() //{{{
default_value: false
}
));
addOption(new Option(["visualbellstyle"], "string",
{
short_help: "CSS specification of the visual bell",
help: "To hide the visual bell use a value of \"display: none;\".",
setter: function(value) { if (!value) value = "display: none;"; Options.setPref("visualbellstyle", value); },
default_value: "background-color: black; color: black;"
}
));
addOption(new Option(["wildmode", "wim"], "stringlist",
{
short_help: "Define how command line completion works",