Changeset 0509efc


Ignore:
Timestamp:
Aug 10, 2009, 8:23:52 PM (12 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
cff58b4
Parents:
0fa0745
Message:
editwin: Support zdots on the first line of a message.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • editwin.c

    rd43edd2 r0509efc  
    12091209  if(strcmp(e->buff + e->index, "\n.\n") == 0) {
    12101210    owl_editwin_point_move(e, 1);
     1211    zdot = 1;
     1212  } else if(e->index == e->lock &&
     1213            strcmp(e->buff + e->index, ".\n") == 0) {
     1214    zdot = 1;
     1215  }
     1216
     1217  if(zdot) {
    12111218    owl_editwin_replace(e, 2, "");
    1212     zdot = 1;
    12131219  }
    12141220
Note: See TracChangeset for help on using the changeset viewer.