From: John Darrington Date: Sun, 8 Aug 2010 11:58:08 +0000 (+0200) Subject: Enable the bracket matching X-Git-Tag: v0.7.9~159^2~10 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfcf8c20ca72f9cc8c05e1e51ec94d27af9370ab;p=pspp-builds.git Enable the bracket matching --- 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,