Replace older values with :sty/:hi -append rather than simply concatenating the old string.

This commit is contained in:
Kris Maglione committed 2010-12-21 20:56:19 -05:00
1 parent 198a321c59
commit 362981e1b1
3 files changed
+39 -21

No files matched your search

+1 -8
View File
@@ -207,14 +207,7 @@ const RangeFinder = Module("rangefinder", {
"Highlight all /find pattern matches on the current page after submission",
"boolean", false, {
setter: function (value) {
try {
if (value)
rangefinder.highlight();
else
rangefinder.clear();
}
catch (e) {}
rangefinder[value ? "highlight" : "clear"]();
return value;
}
});