[gnome-builder/wip/gtk4-port: 281/1774] libide/gui: add movements to preferences
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 281/1774] libide/gui: add movements to preferences
- Date: Mon, 11 Jul 2022 22:31:05 +0000 (UTC)
commit d7304eb0d3f5edd5c20e31f81c0341f3d1bb69cd
Author: Christian Hergert <chergert redhat com>
Date: Thu Mar 31 14:12:39 2022 -0700
libide/gui: add movements to preferences
src/libide/gui/ide-preferences-builtin.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/src/libide/gui/ide-preferences-builtin.c b/src/libide/gui/ide-preferences-builtin.c
index db5df0af7..43dadaabb 100644
--- a/src/libide/gui/ide-preferences-builtin.c
+++ b/src/libide/gui/ide-preferences-builtin.c
@@ -637,6 +637,8 @@ static const IdePreferenceGroupEntry groups[] = {
{ "build", "general", 0, N_("General") },
{ "network", "downloads", 0, N_("Downloads") },
+
+ { "keyboard", "movement", 10, N_("Movements") },
};
static const IdePreferenceItemEntry items[] = {
@@ -674,6 +676,16 @@ static const IdePreferenceItemEntry items[] = {
N_("Allow Downloads over Metered Connections"),
N_("Allow the use of metered network connections when automatically downloading dependencies"),
"org.gnome.builder.build", NULL, "allow-network-when-metered" },
+
+ { "keyboard", "movement", "smart-home-end", 0, ide_preferences_window_toggle,
+ N_("Smart Home and End"),
+ N_("Home moves to first non-whitespace character"),
+ "org.gnome.builder.editor", NULL, "smart-home-end" },
+
+ { "keyboard", "movement", "smart-backspace", 0, ide_preferences_window_toggle,
+ N_("Smart Backspace"),
+ N_("Backspace will remove extra space to keep you aligned with your indentation"),
+ "org.gnome.builder.editor", NULL, "smart-backspace" },
};
static const IdePreferenceItemEntry lang_items[] = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]