mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 10:07:59 +01:00
use true as the default value of 'hlsearch' and 'ignorecase' and store
'hlsearch' as a preference
This commit is contained in:
@@ -422,8 +422,8 @@ function Options() //{{{
|
||||
addOption(new Option(["hlsearch", "hls"], "boolean",
|
||||
{
|
||||
short_help: "Highlight previous search pattern matches",
|
||||
setter: function(value) { if (value) vimperator.search.highlight(); else vimperator.search.clear(); },
|
||||
default_value: true
|
||||
setter: function(value) { Options.setPref("hlsearch", value); if (value) vimperator.search.highlight(); else vimperator.search.clear(); },
|
||||
default_value: false
|
||||
}
|
||||
));
|
||||
addOption(new Option(["ignorecase", "ic"], "boolean",
|
||||
@@ -510,7 +510,7 @@ function Options() //{{{
|
||||
{
|
||||
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.",
|
||||
default_value: false
|
||||
default_value: true
|
||||
}
|
||||
));
|
||||
addOption(new Option(["titlestring"], "string",
|
||||
|
||||
Reference in New Issue
Block a user