Revision: 2054 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2054&view=re... Author: frlan Date: 2011-04-24 22:35:12 +0000 (Sun, 24 Apr 2011)
Log Message: ----------- Remove outcommented source code
Modified Paths: -------------- trunk/geany-plugins/shiftcolumn/src/shiftcolumn.c
Modified: trunk/geany-plugins/shiftcolumn/src/shiftcolumn.c =================================================================== --- trunk/geany-plugins/shiftcolumn/src/shiftcolumn.c 2011-04-24 13:49:24 UTC (rev 2053) +++ trunk/geany-plugins/shiftcolumn/src/shiftcolumn.c 2011-04-24 22:35:12 UTC (rev 2054) @@ -104,7 +104,6 @@ endline = sci_get_line_from_position(sci, endpos);
/* normal mode */ - // if(sci_get_selection_mode(sci) == 1){ if(startline == endline){
/* get the text in question */ @@ -347,22 +346,22 @@
static void kb_shift_left(G_GNUC_UNUSED guint key_id){ - + /* sanity check */ if (document_get_current() == NULL){ return; } - + shift_left_cb(NULL, NULL); }
static void kb_shift_right(G_GNUC_UNUSED guint key_id){ - + /* sanity check */ if (document_get_current() == NULL){ return; } - + shift_right_cb(NULL, NULL); }
@@ -384,7 +383,7 @@ menu_item_shift_right); g_signal_connect(menu_item_shift_right, "activate", G_CALLBACK(shift_right_cb), NULL); - + /* make sure our menu items aren't called when there is no doc open */ ui_add_document_sensitive(menu_item_shift_right); ui_add_document_sensitive(menu_item_shift_left);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org