Package-level declarations

Scheme for random words selected from word lists.

Types

Link copied to clipboard
data class DefaultWordList(val name: String, val filename: String)

A list of words read from a bundled file.

Link copied to clipboard
data class WordScheme(var words: List<String> = DEFAULT_WORDS, var capitalization: CapitalizationMode = DEFAULT_CAPITALIZATION, val affixDecorator: AffixDecorator = DEFAULT_AFFIX_DECORATOR, val arrayDecorator: ArrayDecorator = DEFAULT_ARRAY_DECORATOR) : Scheme

Contains settings for generating random words.

Link copied to clipboard
class WordSchemeEditor(scheme: WordScheme = WordScheme()) : SchemeEditor<WordScheme>

Component for editing a WordScheme.

Functions

Link copied to clipboard
fun Document.getWordList(): List<String>

Returns the list of all non-blank lines in this Document.

Link copied to clipboard
private fun Document.resetUndoHistory()

Resets the undo history of this Document.

Link copied to clipboard
fun Document.setWordList(wordList: List<String>)

Puts each entry of wordList onto a separate line in this Document.

Link copied to clipboard
private fun EditorFactory.wrapDisposable(editor: Editor): <no name provided>

Returns a Disposable that can dispose the editor through the EditorFactory that created it.