[gnome-builder] plugins/editorui: add show-line-numbers and highlight-current-line



commit 8f9a6c0993a6eca1b2e6af838634ea5301456e03
Author: Christian Hergert <chergert redhat com>
Date:   Sat Aug 13 11:37:51 2022 -0700

    plugins/editorui: add show-line-numbers and highlight-current-line

 src/plugins/editorui/tweaks.ui | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
---
diff --git a/src/plugins/editorui/tweaks.ui b/src/plugins/editorui/tweaks.ui
index 500928e8e..b0bf75aff 100644
--- a/src/plugins/editorui/tweaks.ui
+++ b/src/plugins/editorui/tweaks.ui
@@ -61,6 +61,24 @@
                 </child>
               </object>
             </child>
+            <child>
+              <object class="IdeTweaksGroup" id="editor_page_lines_group">
+                <child>
+                  <object class="IdeTweaksSwitch" id="editor_show_lines">
+                    <property name="title" translatable="yes">Show Line Numbers</property>
+                    <property name="subtitle" translatable="yes">Display line numbers next to each line of 
code</property>
+                    <property 
name="action-name">settings.org.gnome.builder.editor.show-line-numbers</property>
+                  </object>
+                </child>
+                <child>
+                  <object class="IdeTweaksSwitch" id="editor_highlight_line">
+                    <property name="title" translatable="yes">Highlight Current Line</property>
+                    <property name="subtitle" translatable="yes">Make the current line stand out with 
highlights</property>
+                    <property 
name="action-name">settings.org.gnome.builder.editor.highlight-current-line</property>
+                  </object>
+                </child>
+              </object>
+            </child>
             <child>
               <object class="IdeTweaksGroup" id="editor_page_style_group">
                 <child>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]