From 95fcfd9c2fd5c2f648e0a62da0c1b87b947540a5 Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com> Date: Tue, 16 Feb 2010 02:14:17 -0800 Subject: [PATCH] Code folding doesn't work well, disabled --- plugins/moofind.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/moofind.c b/plugins/moofind.c index 148d8540..134063c1 100644 --- a/plugins/moofind.c +++ b/plugins/moofind.c @@ -189,7 +189,6 @@ ensure_output (WindowStuff *stuff) _("Search Results"), _("Search Results")); stuff->output = g_object_new (MOO_TYPE_CMD_VIEW, "highlight-current-line", TRUE, - "enable-folding", TRUE, NULL); moo_edit_window_add_stop_client (window, stuff->output); @@ -662,9 +661,9 @@ file_line_pair_free (FileLinePair *pair) static void finish_group(WindowStuff *stuff) { - if (stuff->group_start_line >= 0 && stuff->group_end_line > stuff->group_start_line) - moo_text_buffer_add_fold (MOO_TEXT_BUFFER (gtk_text_view_get_buffer (GTK_TEXT_VIEW (stuff->output))), - stuff->group_start_line, stuff->group_end_line); +// if (stuff->group_start_line >= 0 && stuff->group_end_line > stuff->group_start_line) +// moo_text_buffer_add_fold (MOO_TEXT_BUFFER (gtk_text_view_get_buffer (GTK_TEXT_VIEW (stuff->output))), +// stuff->group_start_line, stuff->group_end_line); stuff->group_start_line = -1; stuff->group_end_line = -1; }