[gnome-builder] plugins/editorui: add spellcheck tweak



commit 59dfcf3eab5a20d65a6df795d97211b2ec4538f3
Author: Christian Hergert <chergert redhat com>
Date:   Thu Aug 18 18:48:23 2022 -0700

    plugins/editorui: add spellcheck tweak

 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 c65554e65..f83a09ed7 100644
--- a/src/plugins/editorui/tweaks.ui
+++ b/src/plugins/editorui/tweaks.ui
@@ -7,6 +7,12 @@
         <property name="application-only">true</property>
       </object>
     </child>
+    <child>
+      <object class="IdeTweaksSettings" id="settings_org_gnome_builder_spelling">
+        <property name="schema-id">org.gnome.builder.spelling</property>
+        <property name="application-only">true</property>
+      </object>
+    </child>
     <child>
       <object class="IdeTweaksSettings" id="settings_org_gnome_builder_code_insight">
         <property name="schema-id">org.gnome.builder.code-insight</property>
@@ -253,6 +259,18 @@
                         </child>
                       </object>
                     </child>
+                    <child>
+                      <object class="IdeTweaksGroup">
+                        <property name="title" translatable="yes">Spelling</property>
+                        <child>
+                          <object class="IdeTweaksSwitch">
+                            <property name="title" translatable="yes">Check Spelling</property>
+                            <property name="subtitle" translatable="yes">Underline potential spelling 
mistakes as you type</property>
+                            <property 
name="action-name">settings.org.gnome.builder.spelling.check-spelling</property>
+                          </object>
+                        </child>
+                      </object>
+                    </child>
                     <child>
                       <object class="IdeTweaksGroup" id="editor_behavior_keyboard_group">
                         <property name="title" translatable="yes">Keyboard</property>


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