mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-04 17:25:45 +01:00
Fix finder.
This commit is contained in:
@@ -291,8 +291,15 @@ const RangeFind = Class("RangeFind", {
|
||||
get matchCase() this.finder.caseSensitive,
|
||||
set matchCase(val) this.finder.caseSensitive = Boolean(val),
|
||||
|
||||
get regex() this.finder.regularExpression,
|
||||
set regex(val) this.finder.regularExpression = Boolean(val),
|
||||
get regex() this.finder.regularExpression || false,
|
||||
set regex(val) {
|
||||
try {
|
||||
return this.finder.regularExpression = Boolean(val);
|
||||
}
|
||||
catch (e) {
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
||||
get searchString() this.lastString,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user