Hello,

This fixes Debian bugreport 302516:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=302516

I am not sure for the changelog entry - please, correct it if you come
up with a better wording .

Changelog:

2005-07-11  Pavel Tsekov  <[EMAIL PROTECTED]>

        editcmd.c (edit_block_copy_cmd): Allow a block of selected columns
        as created by Shift + F3 to be copied everywhere in the editor
        area.
Index: edit/editcmd.c
===================================================================
RCS file: /cvsroot/mc/mc/edit/editcmd.c,v
retrieving revision 1.138
diff -u -p -r1.138 editcmd.c
--- edit/editcmd.c      27 May 2005 03:35:12 -0000      1.138
+++ edit/editcmd.c      11 Jul 2005 14:15:31 -0000
@@ -941,17 +941,12 @@ void
 edit_block_copy_cmd (WEdit *edit)
 {
     long start_mark, end_mark, current = edit->curs1;
-    int size, x;
+    int size;
     unsigned char *copy_buf;
 
     edit_update_curs_col (edit);
-    x = edit->curs_col;
     if (eval_marks (edit, &start_mark, &end_mark))
        return;
-    if (column_highlighting)
-       if ((x >= edit->column1 && x < edit->column2)
-           || (x > edit->column2 && x <= edit->column1))
-           return;
 
     copy_buf = edit_get_block (edit, start_mark, end_mark, &size);
 
_______________________________________________
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel

Reply via email to