From 8ae1d882a0cd3467b6e3ebd08ee81aa5768719f4 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Tue, 24 Feb 2026 15:21:03 +0900 Subject: [PATCH] Add TODO for word matching --- lib/models/word_search/word_search_result.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/models/word_search/word_search_result.dart b/lib/models/word_search/word_search_result.dart index ceee412..261dc22 100644 --- a/lib/models/word_search/word_search_result.dart +++ b/lib/models/word_search/word_search_result.dart @@ -34,6 +34,10 @@ class WordSearchResult { /// A class listing the sources used to make up the data for this word search result. final WordSearchSources sources; + // TODO: Create a list containing pointers to the matched parts of the word (either kanjiInfo, readingInfo, senses), + // as well as spans for the subpart of the string that matched. This will be used for highlighting, and displaying + // alternative kanji/kana forms later on. + const WordSearchResult({ required this.score, required this.entryId,