Only in .: .deps
Only in .: .libs
Only in .: Makefile
Only in .: showblock_tests.patch
Only in .: testregion
Only in .: testregion.o
Only in .: test-widget
diff -rup ../../../downloads/gtksourceview-1.6.1/tests/test-widget.c ./test-widget.c
--- ../../../downloads/gtksourceview-1.6.1/tests/test-widget.c	2006-01-14 16:42:09.000000000 +0100
+++ ./test-widget.c	2006-07-28 14:25:04.000000000 +0200
@@ -78,6 +78,8 @@ static void       tabs_toggled_cb       
 						  gpointer         user_data);
 static void       print_preview_cb               (GtkAction       *action,
 						  gpointer         user_data);
+static void       show_block_cb             (GtkAction       *action,
+						  gpointer         user_data);
 
 static GtkWidget *create_view_window             (GtkSourceBuffer *buffer,
 						  GtkSourceView   *from);
@@ -118,9 +120,12 @@ static GtkToggleActionEntry toggle_entri
 	{ "AutoIndent", NULL, "Enable _Auto Indent", NULL,
 	  "Toggle automatic auto indentation of text",
 	  G_CALLBACK (auto_indent_toggled_cb), FALSE },
-	{ "InsertSpaces", NULL, "Insert _Spaces Instead of Tabs", NULL,
-	  "Whether to insert space characters when inserting tabulations",
-	  G_CALLBACK (insert_spaces_toggled_cb), FALSE }
+	{ "AutoIndent", NULL, "Enable _Auto Indent", NULL,
+	  "Toggle automatic auto indentation of text",
+	  G_CALLBACK (auto_indent_toggled_cb), FALSE },
+	{ "ShowBlock", NULL, "Show block's extents", NULL,
+	  "Whether to show block's extents",
+	  G_CALLBACK (show_block_cb), FALSE }
 };
 
 static GtkRadioActionEntry radio_entries[] = {
@@ -143,6 +148,7 @@ static const gchar *view_ui_description 
 "      <menuitem action=\"ShowNumbers\"/>"
 "      <menuitem action=\"ShowMarkers\"/>"
 "      <menuitem action=\"ShowMargin\"/>"
+"      <menuitem action=\"ShowBlock\"/>"
 "      <menuitem action=\"HlLine\"/>"
 "      <separator/>"
 "      <menuitem action=\"AutoIndent\"/>"
@@ -444,6 +450,14 @@ hl_line_toggled_cb (GtkAction *action, g
 		gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)));
 }
 
+static void
+show_block_cb (GtkAction *action, gpointer user_data)
+{
+	g_return_if_fail (GTK_IS_TOGGLE_ACTION (action) && GTK_IS_SOURCE_VIEW (user_data));
+	gtk_source_view_set_show_block (
+		GTK_SOURCE_VIEW (user_data),
+		gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)));
+}
 
 static void 
 auto_indent_toggled_cb (GtkAction *action,
@@ -957,6 +971,9 @@ create_main_window (GtkSourceBuffer *buf
 	action = gtk_action_group_get_action (action_group, "TabsWidth8");
 	gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), TRUE);
 	
+	action = gtk_action_group_get_action (action_group, "ShowBlock");
+	gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), TRUE);
+
 	return window;
 }
 
Only in .: test-widget.c~
Only in .: test-widget.o
