Fixed shift-del at not-beggining of line.

This commit is contained in:
Alexander S. Aganichev 2000-05-26 05:28:49 +00:00
parent 7de851a3c0
commit da5e07ba95

View File

@ -635,7 +635,7 @@ void IEclass::BlockDel(Line* anchor) {
firstcutline->txt += lastcutline->txt.c_str()+lastcol;
}
else
firstcutline->txt.erase(firstcol, lastcol);
firstcutline->txt.erase(firstcol, lastcol-firstcol);
setlinetype(firstcutline);
firstcutline->type &= ~GLINE_BLOK;
blockcol = -1;