[gnome-builder] plugins/editorui: add more editor tweaks
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] plugins/editorui: add more editor tweaks
- Date: Fri, 19 Aug 2022 00:53:01 +0000 (UTC)
commit fc3193853d4cbeae1b266c77b9989fdfd06ce7b5
Author: Christian Hergert <chergert redhat com>
Date: Thu Aug 18 17:48:37 2022 -0700
plugins/editorui: add more editor tweaks
src/plugins/editorui/tweaks.ui | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
---
diff --git a/src/plugins/editorui/tweaks.ui b/src/plugins/editorui/tweaks.ui
index d8fc8f0ac..6926bfc1d 100644
--- a/src/plugins/editorui/tweaks.ui
+++ b/src/plugins/editorui/tweaks.ui
@@ -75,6 +75,20 @@
<property
name="action-name">settings.org.gnome.builder.editor.show-line-numbers</property>
</object>
</child>
+ <child>
+ <object class="IdeTweaksSwitch" id="editor_show_relative_lines">
+ <property name="title" translatable="yes">Use Relative Line Numbers</property>
+ <property name="subtitle" translatable="yes">Show line numbers relative to the
current line</property>
+ <property
name="action-name">settings.org.gnome.builder.editor.show-relative-line-numbers</property>
+ </object>
+ </child>
+ <child>
+ <object class="IdeTweaksSwitch" id="editor_show_diagnostics">
+ <property name="title" translatable="yes">Show Line Diagnostics</property>
+ <property name="subtitle" translatable="yes">Display diagnostics next to the
line number</property>
+ <property
name="action-name">settings.org.gnome.builder.editor.show-line-diagnostics</property>
+ </object>
+ </child>
</object>
</child>
<child>
@@ -156,6 +170,13 @@
<property name="title" translatable="yes">Behavior</property>
<child>
<object class="IdeTweaksGroup">
+ <child>
+ <object class="IdeTweaksSwitch">
+ <property name="title" translatable="yes">Restore Cursor Position</property>
+ <property name="subtitle" translatable="yes">Jump to the last position when
re-opening a file</property>
+ <property
name="action-name">settings.org.gnome.builder.editor.restore-insert-mark</property>
+ </object>
+ </child>
<child>
<object class="IdeTweaksSwitch">
<property name="title" translatable="yes">Format on Save</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]