OnContentEditingContentChangeListener

Listener for content editing changes.

Inheritors

Functions

Link copied to clipboard
open fun onContentChange(contentId: UUID)
Called when the content has successfully been changed.
Link copied to clipboard
open fun onContentSelectionChange(contentId: UUID, selStart: Int, selEnd: Int, styleInfo: StyleInfo, styleWasChanged: Boolean)
Called when the cursor position/selection has changed Mainly used to update the content editing toolbar to show the proper text style for the current cursor position.
Link copied to clipboard
open fun onFinishEditingContentBlock(contentId: UUID)
Called when the provided block goes out of editing mode (loses focus, or global content editing mode is being finished)
Link copied to clipboard
open fun onStartEditingContentBlock(contentId: UUID)
Called when the provided block goes into editing mode (need to change the frame style and display the editing widget now)
Link copied to clipboard
open fun onTextBlockStyleChange(contentId: UUID, textBlockStyleInfo: TextBlockStyleInfo)
Called when a style that affects the whole textblock has successfully been changed.