Revision: 3043 http://geany.svn.sourceforge.net/geany/?rev=3043&view=rev Author: ntrel Date: 2008-10-06 15:48:42 +0000 (Mon, 06 Oct 2008)
Log Message: ----------- Remove trailing whitespace.
Modified Paths: -------------- trunk/plugins/splitwindow.c
Modified: trunk/plugins/splitwindow.c =================================================================== --- trunk/plugins/splitwindow.c 2008-10-05 20:34:16 UTC (rev 3042) +++ trunk/plugins/splitwindow.c 2008-10-06 15:48:42 UTC (rev 3043) @@ -141,7 +141,7 @@ gpointer sdoc; gint lexer; gint pos; - + /* set the new sci widget to view the existing Scintilla document */ sdoc = (gpointer) p_sci->send_message(current, SCI_GETDOCPOINTER, 0, 0); p_sci->send_message(sci, SCI_SETDOCPOINTER, 0, GPOINTER_TO_INT(sdoc)); @@ -153,7 +153,7 @@
pos = p_sci->get_current_position(current); p_sci->set_current_position(sci, pos, TRUE); - + /* override some defaults */ set_line_numbers(sci, TRUE, 0); p_sci->send_message(sci, SCI_SETMARGINWIDTHN, 1, 0 ); /* hide marker margin */ @@ -166,7 +166,7 @@ id != STATE_SPLIT_HORIZONTAL); gtk_widget_set_sensitive(menu_items.unsplit, id != STATE_UNSPLIT); - + plugin_state = id; }
@@ -181,7 +181,7 @@ gint width = notebook->allocation.width / 2;
set_state(STATE_SPLIT_HORIZONTAL); - + g_return_if_fail(doc); g_return_if_fail(our_editor == NULL);
@@ -210,7 +210,7 @@ GtkWidget *parent = gtk_widget_get_parent(pane);
set_state(STATE_UNSPLIT); - + g_return_if_fail(our_editor);
/* reparent document notebook */ @@ -226,25 +226,25 @@ void plugin_init(GeanyData *data) { GtkWidget *item, *menu; - + menu_items.main = item = gtk_menu_item_new_with_mnemonic(_("_Split Window")); gtk_menu_append(geany_data->main_widgets->tools_menu, menu_items.main); plugin_fields->menu_item = item; plugin_fields->flags = PLUGIN_IS_DOCUMENT_SENSITIVE; - + menu = gtk_menu_new(); gtk_menu_item_set_submenu(GTK_MENU_ITEM(menu_items.main), menu); - + menu_items.horizontal = item = gtk_menu_item_new_with_mnemonic(_("_Horizontally")); g_signal_connect(item, "activate", G_CALLBACK(on_split_view), NULL); gtk_menu_append(menu, item); - + menu_items.unsplit = item = gtk_menu_item_new_with_mnemonic(_("_Unsplit")); g_signal_connect(item, "activate", G_CALLBACK(on_unsplit), NULL); gtk_menu_append(menu, item); - + gtk_widget_show_all(menu_items.main);
set_state(STATE_UNSPLIT); @@ -269,6 +269,6 @@ { if (plugin_state != STATE_UNSPLIT) on_unsplit(NULL, NULL); - + gtk_widget_destroy(menu_items.main); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.