TextDrawer

constructor(modifier: Modifier = Modifier, onKeyEvent: (KeyEvent, TextFieldValue, StoryStep, Int, EmptyErase) -> Boolean = { _, _, _, _, _ -> false }, textStyle: @Composable (StoryStep) -> TextStyle = { defaultTextStyle(it) }, onTextEdit: (Action.StoryStateChange) -> Unit = { }, commandHandler: TextCommandHandler = TextCommandHandler(emptyMap()), allowLineBreaks: Boolean = false, lineBreakByContent: Boolean = true, emptyErase: EmptyErase = EmptyErase.CHANGE_TYPE, onLineBreak: (Action.LineBreak) -> Unit = {}, onFocusChanged: (Int, FocusState) -> Unit = { _, _ -> }, selectionState: StateFlow<Boolean>, onSelectionLister: (Int) -> Unit)