Пример #1
0
void makeundo()
{
    undos.add(blockcopy(sel));
    pruneundos(undomegs<<20);
};
Пример #2
0
void copy()
{
    EDITSELMP;
    if(copybuf) free(copybuf);
    copybuf = blockcopy(sel);
};
Пример #3
0
void makeundo() {
	undos.emplace_back(blockcopy(sel));
	pruneundos(undomegs << 20);
}