EditorState
Added in version 2.10.
Superclasses: Object
- Constructors:
EditorState(**properties)
Methods
- class EditorState
- get_typing_attributes() int
Gets the typing attributes at the current cursor position.
If there is a selection, this returns the typing attributes of the selected text. Note that in case of a selection, typing attributes are considered active only when they are present throughout the selection.
Added in version 2.10.
Properties
- class EditorState
- props.typing_attributes: int
Bitmask of
WebKitEditorTypingAttributes
flags. Seeget_typing_attributes()
for more information.Added in version 2.10.