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,