RE: midnight bug - feature request



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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]