midnight bug - feature request

BARTHAZI Andras andras at barthazi.hu
Mon Nov 25 08:51:57 UTC 2002


Hello!

And a patch to my patch (there was a silly bug in this routine):

edit/edit.c

/* move cursor to column 'column' */
void edit_move_to_column (WEdit * e, long column)
{
    edit_cursor_to_bol(e);
    while (e->curs1<edit_eol (e, e->curs1) && e->curs_col<column)
        { edit_cursor_move(e,1); edit_update_curs_col(e); }
    e->search_start = e->curs1;
    e->prev_col = edit_get_col (e);
    edit_scroll_screen_over_cursor (e);
}

Bye,
  Andras





More information about the mc-devel mailing list