Fixed shift-del at not-beggining of line.
This commit is contained in:
parent
7de851a3c0
commit
da5e07ba95
@ -635,7 +635,7 @@ void IEclass::BlockDel(Line* anchor) {
|
|||||||
firstcutline->txt += lastcutline->txt.c_str()+lastcol;
|
firstcutline->txt += lastcutline->txt.c_str()+lastcol;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
firstcutline->txt.erase(firstcol, lastcol);
|
firstcutline->txt.erase(firstcol, lastcol-firstcol);
|
||||||
setlinetype(firstcutline);
|
setlinetype(firstcutline);
|
||||||
firstcutline->type &= ~GLINE_BLOK;
|
firstcutline->type &= ~GLINE_BLOK;
|
||||||
blockcol = -1;
|
blockcol = -1;
|
||||||
|
Reference in New Issue
Block a user