in Sources/TwitterTextEditor/TextEditorView.swift [65:90]
func textEditorView(_ textEditorView: TextEditorView,
didChangeInputPrimaryLanguage inputPrimaryLanguage: String?)
/**
A callback when the text input for the text editor view did change the base writing direction.
It is called when the primary language that has a different direction but _MAY BE_ called
by the various user interactions.
- Parameters:
- textEditorView: A observed `TextEditorView`.
- writingDirection: The current base writing direction.
- SeeAlso:
- `textEditorView(:didChangeInputPrimaryLanguage:)`
*/
func textEditorView(_ textEditorView: TextEditorView,
didChangeBaseWritingDirection writingDirection: NSWritingDirection)
}
/**
A protocol that represents an editing content of the text editor view.
- SeeAlso:
- `TextEditorViewEditingContentDelegate.textEditorView(_:updateEditingContent:)`
*/
public protocol TextEditorViewEditingContent {