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