mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 00:42:32 +02:00
Fix finder.
This commit is contained in:
1 parent
7d0c99d0e1
commit
6c8a89b263
1 file changed
+9
-2
@@ -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