Mercurial > vim
comparison src/ops.c @ 216:da182deebec7
updated for version 7.0061
author | vimboss |
---|---|
date | Fri, 18 Mar 2005 20:25:31 +0000 |
parents | d292c40ca788 |
children | 73354c21f1e4 |
comparison
equal
deleted
inserted
replaced
215:a4029d1d83df | 216:da182deebec7 |
---|---|
645 char_u *l; | 645 char_u *l; |
646 int count; | 646 int count; |
647 linenr_T first_changed = 0; | 647 linenr_T first_changed = 0; |
648 linenr_T last_changed = 0; | 648 linenr_T last_changed = 0; |
649 linenr_T start_lnum = curwin->w_cursor.lnum; | 649 linenr_T start_lnum = curwin->w_cursor.lnum; |
650 | |
651 /* Don't even try when 'modifiable' is off. */ | |
652 if (!curbuf->b_p_ma) | |
653 { | |
654 EMSG(_(e_modifiable)); | |
655 return; | |
656 } | |
650 | 657 |
651 for (i = oap->line_count; --i >= 0 && !got_int; ) | 658 for (i = oap->line_count; --i >= 0 && !got_int; ) |
652 { | 659 { |
653 /* it's a slow thing to do, so give feedback so there's no worry that | 660 /* it's a slow thing to do, so give feedback so there's no worry that |
654 * the computer's just hung. */ | 661 * the computer's just hung. */ |