From cfcf8c20ca72f9cc8c05e1e51ec94d27af9370ab Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 8 Aug 2010 13:58:08 +0200 Subject: [PATCH] Enable the bracket matching --- src/ui/gui/psppire-syntax-window.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ui/gui/psppire-syntax-window.c b/src/ui/gui/psppire-syntax-window.c index eb35ae52..0880e65f 100644 --- a/src/ui/gui/psppire-syntax-window.c +++ b/src/ui/gui/psppire-syntax-window.c @@ -29,7 +29,6 @@ #include #include "psppire.h" -#include "psppire-syntax-window.h" #include "psppire-data-window.h" #include "psppire-window-register.h" @@ -430,6 +429,11 @@ psppire_syntax_window_init (PsppireSyntaxWindow *window) gtk_text_view_set_buffer (GTK_TEXT_VIEW (text_view), window->buffer); + g_object_set (window->buffer, + "highlight-matching-brackets", TRUE, + NULL); + + g_object_set (text_view, "show-line-numbers", TRUE, "show-line-marks", TRUE, -- 2.30.2