cur.message(_("Cut"));
break;
- case LFUN_COPY:
- copySelection(cur);
- cur.message(_("Copy"));
- break;
-
case LFUN_SERVER_GET_XY:
cur.message(from_utf8(
convert<string>(tm->cursorX(cur.top(), cur.boundary()))
while (cur.pit() + offset <= cur.lastpit()) {
Paragraph cpar = pars_[cur.pit() + offset];
depth_type nextpar_depth = cpar.params().depth();
- if (cur_depth <= nextpar_depth) {
+ if (cur_depth <= nextpar_depth && nextpar_depth > 0) {
nextpars_depth.push_back(nextpar_depth);
cur_depth = nextpar_depth;
++offset;
break;
case LFUN_CUT:
- case LFUN_COPY:
enable = cur.selection();
break;