[gnome-builder/wip/libide] libide: set highlight-diagnostics when buffer is loaded



commit 37c4325e863c557432f517f1645c4f178824bc65
Author: Christian Hergert <christian hergert me>
Date:   Wed Feb 25 16:06:51 2015 -0800

    libide: set highlight-diagnostics when buffer is loaded

 tests/test-ide-source-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-ide-source-view.c b/tests/test-ide-source-view.c
index 34b7deb..afcfca2 100644
--- a/tests/test-ide-source-view.c
+++ b/tests/test-ide-source-view.c
@@ -46,6 +46,7 @@ load_cb (GObject      *object,
       return;
     }
 
+  ide_buffer_set_highlight_diagnostics (buffer, TRUE);
   gtk_source_buffer_set_style_scheme (GTK_SOURCE_BUFFER (buffer), style);
   gtk_text_view_set_buffer (GTK_TEXT_VIEW (source_view), GTK_TEXT_BUFFER (buffer));
   gtk_widget_set_sensitive (GTK_WIDGET (source_view), TRUE);


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