summaryrefslogtreecommitdiff
path: root/ext/data
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2023-12-29 04:02:51 +0100
committerGitHub <noreply@github.com>2023-12-29 03:02:51 +0000
commit580983b9b8a17965db1466aa08cad3c96b06022e (patch)
tree914760e326ffc4b1acf8ddcddbd5006ae762babf /ext/data
parent8d5d2152e4295fdcefa6ef283204c92df1f81305 (diff)
search resolution option (#436)
* add search resolution setting * move finding next substring to method * use regex literal * fix comments * fix comments * add options update function * update test
Diffstat (limited to 'ext/data')
-rw-r--r--ext/data/schemas/options-schema.json11
1 files changed, 10 insertions, 1 deletions
diff --git a/ext/data/schemas/options-schema.json b/ext/data/schemas/options-schema.json
index f5b24160..65c4102e 100644
--- a/ext/data/schemas/options-schema.json
+++ b/ext/data/schemas/options-schema.json
@@ -728,9 +728,18 @@
"convertHiraganaToKatakana",
"convertKatakanaToHiragana",
"collapseEmphaticSequences",
- "textReplacements"
+ "textReplacements",
+ "searchResolution"
],
"properties": {
+ "searchResolution": {
+ "type": "string",
+ "enum": [
+ "letter",
+ "word"
+ ],
+ "default": "letter"
+ },
"convertHalfWidthCharacters": {
"type": "string",
"enum": ["false", "true", "variant"],