- Timestamp:
- Jun 30, 2002, 1:41:05 PM (22 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 262422c
- Parents:
- e75011e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
editwin.c
rd36f2cb rb68f9cd 614 614 } 615 615 616 void owl_editwin_delete_previousword(owl_editwin *e) { 617 /* go backwards to the last non-space character, then delete chars */ 618 int i, startpos, endpos; 619 620 startpos = _owl_editwin_get_index_from_xy(e); 621 owl_editwin_move_to_previousword(e); 622 endpos = _owl_editwin_get_index_from_xy(e); 623 for (i=0; i<startpos-endpos; i++) { 624 owl_editwin_delete_char(e); 625 } 626 } 627 616 628 void owl_editwin_delete_to_endofline(owl_editwin *e) { 617 629 int i;
Note: See TracChangeset
for help on using the changeset viewer.