[gedit] View: add a comment
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] View: add a comment
- Date: Tue, 24 Nov 2020 23:13:24 +0000 (UTC)
commit 7f53abdbde900ab8a929641055629c04f2aeb5aa
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Nov 25 00:10:09 2020 +0100
View: add a comment
gedit/gedit-view.c | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/gedit/gedit-view.c b/gedit/gedit-view.c
index 72e476077..2ace131b2 100644
--- a/gedit/gedit-view.c
+++ b/gedit/gedit-view.c
@@ -665,6 +665,15 @@ gedit_view_class_init (GeditViewClass *klass)
NULL, NULL, NULL,
G_TYPE_NONE, 1, G_TYPE_STRV);
+ /* FIXME: some of these bindings - especially for the "change-case" -
+ * could be moved to a plugin that enables more advanced keyboard
+ * shortcuts. Enabling too many keyboard shortcuts by default makes the
+ * user experience worse, because when mistyping a key it could trigger
+ * an unknown/unexpected action, so it's a bit a WTF moment for the
+ * user. gedit must not become like Emacs or Vim. More advanced stuff
+ * are put in plugins. Also, the "change-case" is available in the
+ * right-click menu, so it's already easily accessible.
+ */
binding_set = gtk_binding_set_by_class (klass);
gtk_binding_entry_add_signal (binding_set,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]