[gnome-builder] editor: tweak defaults for sourceview



commit 50ac4d108afb854be5958d3e488941cebda64d42
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jul 17 13:44:25 2017 -0700

    editor: tweak defaults for sourceview
    
    Enable various features on the sourceview manually during
    template expansion.

 libide/editor/ide-editor-view.ui |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/libide/editor/ide-editor-view.ui b/libide/editor/ide-editor-view.ui
index 01f0cc3..f477530 100644
--- a/libide/editor/ide-editor-view.ui
+++ b/libide/editor/ide-editor-view.ui
@@ -45,8 +45,17 @@
                 <property name="visible">true</property>
                 <child>
                   <object class="IdeSourceView" id="source_view">
+                    <property name="auto-indent">true</property>
+                    <property name="show-line-changes">true</property>
                     <property name="show-line-numbers">true</property>
+                    <property name="show-search-bubbles">true</property>
+                    <property name="snippet-completion">true</property>
                     <property name="visible">true</property>
+                    <child internal-child="completion">
+                      <object class="GtkSourceCompletion">
+                        <property name="show-headers">false</property>
+                      </object>
+                    </child>
                   </object>
                 </child>
               </object>


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