1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 09:08:37 +01:00

changed some default options, fixed "hlsearch"

This commit is contained in:
Martin Stubenschrott
2007-09-06 17:48:18 +00:00
parent 16bb541c98
commit 5e5c29f508

View File

@@ -422,8 +422,8 @@ function Options() //{{{
addOption(new Option(["hlsearch", "hls"], "boolean", addOption(new Option(["hlsearch", "hls"], "boolean",
{ {
short_help: "Highlight previous search pattern matches", short_help: "Highlight previous search pattern matches",
setter: function(value) { if (value) vimperator.search.highlight(); else vimperator.search.clear(); }, setter: function(value) { Options.setPref("hlsearch", value); if (value) vimperator.search.highlight(); else vimperator.search.clear(); },
default_value: true default_value: false
} }
)); ));
addOption(new Option(["ignorecase", "ic"], "boolean", addOption(new Option(["ignorecase", "ic"], "boolean",
@@ -510,7 +510,7 @@ function Options() //{{{
{ {
short_help: "Override the 'ignorecase' option if the pattern contains uppercase characters", short_help: "Override the 'ignorecase' option if the pattern contains uppercase characters",
help: "This is only used if the <code class=\"option\">'ignorecase'</code> option is set.", help: "This is only used if the <code class=\"option\">'ignorecase'</code> option is set.",
default_value: false default_value: true
} }
)); ));
addOption(new Option(["titlestring"], "string", addOption(new Option(["titlestring"], "string",