New Features #1
@ -1,5 +1,5 @@
|
||||
package com.marvinelsen.willow.domain
|
||||
|
||||
enum class SearchMode {
|
||||
PINYIN, SIMPLIFIED, TRADITIONAL, ENGLISH, SEGMENTS
|
||||
PINYIN, SIMPLIFIED, TRADITIONAL, SEGMENTS
|
||||
}
|
||||
|
@ -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> {
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user