-
Committer:
Gaël Bonithon
-
Date:
2021-05-12 15:42:34 UTC
-
Revision ID:
git-v1:7a8d0b36bc9520d140934999fd26edd14631ca58
A review of duplicated view-related actions
After !96 and !66, this completes a review of view-related actions that
are duplicates of GtkTextView/GtkSourceView keybinding signals, or more
generally of features of these classes.
* When a signal exists and is self-sufficient, call it directly from
`mousepad-window.c` ("Copy", "Change Case").
* When it exists but is not sufficient, override the corresponding
virtual function so that all keybindings trigger the same
implementation ("Cut", "Paste", "Redo", "Undo").
* Also, call `gtk_source_view_indent_lines()` directly from
`mousepad-window.c`, which obviously makes "indent-on-tab" consistent
with the indentation action of Mousepad.
* Remove obsolete code that partially implements "smart-home-end" GSV
feature.
Fixes #127.