[gnome-builder] plugins/editorui: add tweak for text wrapping



commit d686ba459ad61dbfb7c83c7d5fb79982d42aa8d9
Author: Christian Hergert <chergert redhat com>
Date:   Thu Aug 18 17:52:53 2022 -0700

    plugins/editorui: add tweak for text wrapping

 src/plugins/editorui/tweaks.ui | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
---
diff --git a/src/plugins/editorui/tweaks.ui b/src/plugins/editorui/tweaks.ui
index 6926bfc1d..70d37d6f2 100644
--- a/src/plugins/editorui/tweaks.ui
+++ b/src/plugins/editorui/tweaks.ui
@@ -91,6 +91,36 @@
                         </child>
                       </object>
                     </child>
+                    <child>
+                      <object class="IdeTweaksGroup">
+                        <child>
+                          <object class="IdeTweaksCombo">
+                            <property name="title" translatable="yes">Wrap Text</property>
+                            <property name="subtitle" translatable="yes">How text should be wrapped when 
wider than the frame</property>
+                            <property name="settings">settings_org_gnome_builder_editor</property>
+                            <property name="key">wrap-text</property>
+                            <child>
+                              <object class="IdeTweaksChoice">
+                                <property name="title" translatable="yes">Never</property>
+                                <property name="action-target">'never'</property>
+                              </object>
+                            </child>
+                            <child>
+                              <object class="IdeTweaksChoice">
+                                <property name="title" translatable="yes">At Spaces</property>
+                                <property name="action-target">'whitespace'</property>
+                              </object>
+                            </child>
+                            <child>
+                              <object class="IdeTweaksChoice">
+                                <property name="title" translatable="yes">Anywhere</property>
+                                <property name="action-target">'always'</property>
+                              </object>
+                            </child>
+                          </object>
+                        </child>
+                      </object>
+                    </child>
                     <child>
                       <object class="IdeTweaksGroup" id="editor_page_highlight_group">
                         <child>


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