S or /

SourceClass TextEditState

from egui import TextEditState
class TextEditState:

The text edit state stored between frames.

Attention: You also need to store the updated state.

Properties§

@property def cursor(self, /) -> TextCursorState§
@cursor.setter def cursor(self, /, cursor: TextCursorState) -> None§

Methods§

Sourcedef clear_undoer(self, /) -> None§
@staticmethod def default() -> TextEditState§
Source@staticmethod def load(ctx: Context, id: Id) -> TextEditState |None§
Sourcedef set_undoer(self, /, undoer: TextEditUndoer) -> None§
Sourcedef store(self, /, ctx: Context, id: Id) -> None§
Sourcedef undoer(self, /) -> TextEditUndoer§