diff: save and restore the word wrapping settings
commitf23542f5542b47a6e87157790551a45d2cf7270b
authorDavid Aguilar <davvid@gmail.com>
Thu, 18 Mar 2021 06:37:41 +0000 (17 23:37 -0700)
committerDavid Aguilar <davvid@gmail.com>
Thu, 18 Mar 2021 06:37:41 +0000 (17 23:37 -0700)
tree875339626cb66b0beee4d7d6aa5cc52da7affb01
parent7ba82187b6519466244cb2d860a6adf692c88208
diff: save and restore the word wrapping settings

Handle the word wrapping settings in the apply_state() / export_state()
handlers so that the word wrapping state is preserved across application
restarts.

Cleanup the code so that update_options() is only called for the options
that affect the diff options. Other checkboxes now use dedicated
handlers.

Related-to: #1123
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/widgets/diff.py