diff options
author | StefanVukovic99 <stefanvukovic44@gmail.com> | 2023-12-29 04:02:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-29 03:02:51 +0000 |
commit | 580983b9b8a17965db1466aa08cad3c96b06022e (patch) | |
tree | 914760e326ffc4b1acf8ddcddbd5006ae762babf /ext/data/schemas | |
parent | 8d5d2152e4295fdcefa6ef283204c92df1f81305 (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/schemas')
-rw-r--r-- | ext/data/schemas/options-schema.json | 11 |
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"], |