version 1.15, 2002/03/16 04:17:36 |
version 1.16, 2002/03/18 01:45:54 |
|
|
if (wp->w_markp == lp1) |
if (wp->w_markp == lp1) |
wp->w_markp = lp2; |
wp->w_markp = lp2; |
} |
} |
if (!undoaction) |
undo_add_insert(lp2, 0, n); |
undo_add_insert(lp2, 0, n); |
|
curwp->w_doto = n; |
curwp->w_doto = n; |
return TRUE; |
return TRUE; |
} |
} |
|
|
wp->w_marko += n; |
wp->w_marko += n; |
} |
} |
} |
} |
if (!undoaction) |
undo_add_insert(curwp->w_dotp, doto, n); |
undo_add_insert(curwp->w_dotp, doto, n); |
|
return TRUE; |
return TRUE; |
} |
} |
|
|
|
|
|
|
lchange(WFHARD); |
lchange(WFHARD); |
|
|
if (!undoaction) { |
/* XXX */ |
/* XXX */ |
undo_add_custom(1,INSERT, curwp->w_dotp, curwp->w_doto, |
undo_add_custom(INSERT, curwp->w_dotp, curwp->w_doto, |
strdup("\n"), 1); |
strdup("\n"), 1); |
|
} |
|
|
|
/* Get the address and offset of "." */ |
/* Get the address and offset of "." */ |
lp1 = curwp->w_dotp; |
lp1 = curwp->w_dotp; |
|
|
return FALSE; |
return FALSE; |
} |
} |
|
|
if (!undoaction) { |
undo_add_delete(curwp->w_dotp, curwp->w_doto, n); |
undo_add_delete(curwp->w_dotp, curwp->w_doto, n); |
|
} |
|
|
|
/* |
/* |
* HACK - doesn't matter, and fixes back-over-nl bug for empty |
* HACK - doesn't matter, and fixes back-over-nl bug for empty |
|
|
ewprintf("Buffer is read only"); |
ewprintf("Buffer is read only"); |
return FALSE; |
return FALSE; |
} |
} |
|
|
|
undo_add_change(curwp->w_dotp, curwp->w_doto, plen); |
|
|
/* |
/* |
* Find the capitalization of the word that was found. f says use |
* Find the capitalization of the word that was found. f says use |