+2003-06-01 John Levon <levon@movementarian.org>
+
+ * text3.C: use a proper cut/paste when doing inset
+ insert (from Jürgen Spitzmüller)
+
2003-06-01 John Levon <levon@movementarian.org>
* factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
if (inset) {
bool gotsel = false;
if (lt->selection.set()) {
- lt->cutSelection(true, false);
+ bv->owner()->dispatch(FuncRequest(LFUN_CUT));
gotsel = true;
}
if (bv->insertInset(inset)) {
inset->localDispatch(cmd);
}
if (gotsel && pastesel)
- bv->owner()->dispatch(FuncRequest(LFUN_PASTESELECTION));
+ bv->owner()->dispatch(FuncRequest(LFUN_PASTE));
}
else
delete inset;