src/frontends/qt2/QInclude.C
src/frontends/qt2/QLPrintDialog.C
src/frontends/qt2/QLog.C
+src/frontends/qt2/QMath.C
src/frontends/qt2/QMathDialog.C
src/frontends/qt2/QMathMatrixDialog.C
src/frontends/qt2/QMinipage.C
+2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * iterators.C (operator++, ParPosition): reintroduce some
+ const_cast for the benefit of older compilers.
+
+2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * text3.C (dispatch): do not modify clipboard when doing
+ LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
+ LFUN_DELETE_SKIP on a selection selection
+
2003-06-16 André Pönitz <poenitz@gmx.net>
* BufferView.C:
* lyxtext.h:
* text.C: implement accept/rejectChange()
- * lyxtext.h:
- * text.C: paint changebars. Paint new/deleted text in the chosen colours.
- Strike through deleted text.
+ * lyxtext.h:
+ * text.C: paint changebars. Paint new/deleted text in the chosen
+ colours. Strike through deleted text.
* paragraph.h:
* paragraph.C:
* paragraph_pimpl.h:
- * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
- to the insert functions. Rework erase to mark text as deleted, adding
- an eraseIntern() and a range-based erase(). Implement
- per-paragraph change lookup and accept/reject.
+ * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
+ in the current change to the insert functions. Rework erase to
+ mark text as deleted, adding an eraseIntern() and a range-based
+ erase(). Implement per-paragraph change lookup and
+ accept/reject.
* paragraph_funcs.C: Fixup paste for change tracking.
* tabular.C: mark added row/columns as new.
- * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
- text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
+ * text.C: fix rowLast() to never return -1. Don't allow
+ spellchecking of deleted text. Track transpose changes. Don't
+ allow paragraph break or merge where appropriate.
* text2.C: leave cursor at end of selection after a cut.
+2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2003-06-16 André Pönitz <poenitz@gmx.net>
}
case LFUN_CUT: {
- lt->cutSelection(bv);
+ lt->cutSelection(true, true);
updwhat = CURSOR_PAR;
updflag = true;
break;
ParPosition::ParPosition(ParagraphList::iterator p, ParagraphList const & pl)
: pit(p), plist(&pl)
{
- if (p != pl.end()) {
+ if (p != const_cast<ParagraphList&>(pl).end()) {
it.reset(p->insetlist.begin());
}
}
}
// Try to go to the next paragarph
- if (next(p.pit) != p.plist->end()
+ if (next(p.pit) != const_cast<ParagraphList*>(p.plist)->end()
|| pimpl_->positions.size() == 1) {
++p.pit;
p.index.reset();
}
// Try to go to the next paragarph
- if (next(p.pit) != p.plist->end()
+ if (next(p.pit) != const_cast<ParagraphList*>(p.plist)->end()
|| pimpl_->positions.size() == 1) {
++p.pit;
p.index.reset();
+2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * formulabase.C (mathDispatchCreation): fix call to cutSelection
2003-06-16 André Pönitz <poenitz@gmx.net>
f = new InsetFormula(sel);
else
f = new InsetFormulaMacro(sel);
- bv->getLyXText()->cutSelection(bv);
+ bv->getLyXText()->cutSelection(true, false);
openNewInset(bv, f);
}
cmd.message(N_("Math editor mode"));
// just comment out the line below...
} else {
update();
- cutSelection(bv, true);
+ cutSelection(true, false);
update();
}
moveCursorUpdate(bv, false);
}
} else {
update();
- cutSelection(bv, true);
+ cutSelection(true, false);
}
update();
break;
}
} else {
update();
- cutSelection(bv, true);
+ cutSelection(true, false);
update();
}
bv->owner()->view_state_changed();
}
} else {
update();
- cutSelection(bv, true);
+ cutSelection(true, false);
}
update();
break;
case LFUN_CUT:
update();
- cutSelection(bv, true);
+ cutSelection(true, true);
update();
cmd.message(_("Cut"));
break;