Add WrapMode to TextView/TextEditor #68
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "mlm/adwaita-swift:AddWrapMode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps
Purpose
Add support for the "GtkWrapModes" to TextEditor/TextView.
Approach
WrapMode.WrapMode.wrapMode()modifier toTextEditorto set the wrap mode.updatemethod to update the wrap mode as well.Thank you very much for this addition! This implementation works well.
I refactored the code to use the more declarative way for the widget definition. This comes with another advantage: While the old implementation updates properties such as the wrap mode whenever a state variable in one of the parent views updates, using the declarative approach ensures that the value is only being updated if it actually changes.
Thanks again!
WIP: Add WrapMode to TextView/TextEditorto Add WrapMode to TextView/TextEditor