EditorState
Added in version 2.10.
Superclasses: Object
Web editor state.
WebKitEditorState represents the state of a WebView
editor.
Use get_editor_state()
to get the WebKitEditorState
of a WebView
.
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.