New Features #1

Open
marvinelsen wants to merge 76 commits from develop into main
3 changed files with 1 additions and 9 deletions
Showing only changes of commit eb3beb0dfe - Show all commits

View File

@ -1,5 +1,5 @@
package com.marvinelsen.willow.domain
enum class SearchMode {
PINYIN, SIMPLIFIED, TRADITIONAL, ENGLISH, SEGMENTS
PINYIN, SIMPLIFIED, TRADITIONAL, SEGMENTS
}

View File

@ -90,7 +90,6 @@ class SqliteDictionary(private val connection: Connection) : Dictionary {
SearchMode.SIMPLIFIED -> searchSimplified(query)
SearchMode.TRADITIONAL -> searchTraditional(query)
SearchMode.SEGMENTS -> searchSegments(query)
SearchMode.ENGLISH -> TODO()
}
override fun findWordsContaining(entry: DictionaryEntry): List<DictionaryEntry> {

View File

@ -36,12 +36,5 @@
<SearchMode fx:value="SEGMENTS"/>
</userData>
</RadioButton>
<RadioButton mnemonicParsing="false" text="%search.mode.english"
toggleGroup="$searchModeToggleGroup"
disable="true">
<userData>
<SearchMode fx:value="ENGLISH"/>
</userData>
</RadioButton>
</FlowPane>
</VBox>