From fd8bd1d8ff2b42583c0c408534eadd3dff8289c7 Mon Sep 17 00:00:00 2001 From: poire-z Date: Mon, 15 Jun 2026 16:45:02 +0200 Subject: [PATCH] bump crengine: enhanced findText(); Malayalam hypnehation Includes: - TextLang, hyphenation: add Malayalam (ml) - findText(): return list of ldomXRange instead of ldomWord - findText(): implement tweakable enhanced search - cre.cpp findText() and findAllText(): Updated to handle returned ldomXRange instead of ldomWord, and added optional searchFlags params. ReaderTypography: add Malayalam to the list of supported languages. --- base | 2 +- frontend/apps/reader/modules/readertypography.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/base b/base index 019da1044..093eb0e53 160000 --- a/base +++ b/base @@ -1 +1 @@ -Subproject commit 019da10448d129b064bbe73f0ebc27a85d0847dc +Subproject commit 093eb0e53d9af51898a435cd4f7b3d6f4460b9af diff --git a/frontend/apps/reader/modules/readertypography.lua b/frontend/apps/reader/modules/readertypography.lua index fea2ec02d..c5f4e7029 100644 --- a/frontend/apps/reader/modules/readertypography.lua +++ b/frontend/apps/reader/modules/readertypography.lua @@ -76,6 +76,7 @@ local LANGUAGES = { { "lv", {"lav"}, "H ", _("Latvian"), "Latvian.pattern" }, { "lt", {"lit"}, "H ", _("Lithuanian"), "Lithuanian.pattern" }, { "mk", {""}, "H ", _("Macedonian"), "Macedonian.pattern" }, + { "ml", {"mal"}, "H ", _("Malayalam"), "Malayalam.pattern" }, { "no", {"nor"}, "H ", _("Norwegian"), "Norwegian.pattern" }, { "oc", {"oci"}, "H ", _("Occitan"), "Occitan.pattern" }, { "pl", {"pol"}, "HB ", _("Polish"), "Polish.pattern" },