summaryrefslogtreecommitdiff
path: root/ext/bg/data/options-schema.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-13 13:25:03 -0400
committerGitHub <noreply@github.com>2020-09-13 13:25:03 -0400
commit621aa354e77a5f0e7825ff0ad7a66c41154f2511 (patch)
tree194717396918d27c0ebadc21e62a32714b27886f /ext/bg/data/options-schema.json
parentb180ebc3bc5182712fe33e5af3bea64b06204dcc (diff)
Add scan dictionary type filters (#822)
* Add options for searchTerms and searchKanji * Add settings HTML * Add options to TextScanner * Update _search/_findDefinitions to include searchTerms/searchKanji args * Update _searchAtFromMouseMove args * Change argument structure for _searchAt * Use scanning options for searchTerms and searchKanji
Diffstat (limited to 'ext/bg/data/options-schema.json')
-rw-r--r--ext/bg/data/options-schema.json20
1 files changed, 17 insertions, 3 deletions
diff --git a/ext/bg/data/options-schema.json b/ext/bg/data/options-schema.json
index 0f310f6e..93dde1e0 100644
--- a/ext/bg/data/options-schema.json
+++ b/ext/bg/data/options-schema.json
@@ -352,7 +352,9 @@
"showAdvanced": false,
"scanOnPenHover": true,
"scanOnPenPress": true,
- "scanOnPenRelease": false
+ "scanOnPenRelease": false,
+ "searchTerms": true,
+ "searchKanji": true
}
},
{
@@ -367,7 +369,9 @@
"showAdvanced": false,
"scanOnPenHover": true,
"scanOnPenPress": true,
- "scanOnPenRelease": false
+ "scanOnPenRelease": false,
+ "searchTerms": true,
+ "searchKanji": true
}
}
],
@@ -415,7 +419,9 @@
"showAdvanced",
"scanOnPenHover",
"scanOnPenPress",
- "scanOnPenRelease"
+ "scanOnPenRelease",
+ "searchTerms",
+ "searchKanji"
],
"properties": {
"showAdvanced": {
@@ -433,6 +439,14 @@
"scanOnPenRelease": {
"type": "boolean",
"default": false
+ },
+ "searchTerms": {
+ "type": "boolean",
+ "default": true
+ },
+ "searchKanji": {
+ "type": "boolean",
+ "default": true
}
}
}