From 580983b9b8a17965db1466aa08cad3c96b06022e Mon Sep 17 00:00:00 2001 From: StefanVukovic99 Date: Fri, 29 Dec 2023 04:02:51 +0100 Subject: 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 --- ext/data/schemas/options-schema.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'ext/data/schemas') 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"], -- cgit v1.2.3