}
-void BufferView::moveCursorUpdate(bool selecting, bool fitcur = true)
+void BufferView::moveCursorUpdate(bool selecting, bool fitcur)
{
pimpl_->moveCursorUpdate(selecting, fitcur);
}
+2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * bufferlist.C (emergencyWrite): don't use fmt(...)
+
+ * text3.C: add using std::endl
+
+ * BufferView.C (moveCursorUpdate): remove default arg
2002-08-20 André Pönitz <poenitz@gmx.net>
* buffer.[Ch]: move inline functions to .C
-
+
* BufferView2.C:
* BufferView_pimpl.C:
* text.C:
* Makefile.am: use $(variables) instead of @substitutions@
2002-08-15 André Pönitz <poenitz@gmx.net>
-
+
* lyxfunc.C:
* BufferView_pimpl.C: streamlining mathed <-> outer world
- interaction
+ interaction
* commandtags.h:
* LyXAction.C: remove unused LFUN_MATH
if (buf->isClean())
return;
- lyxerr << fmt(_("lyx: Attempting to save document %s as..."),
- buf->isUnnamed() ? OnlyFilename(buf->fileName()).c_str()
- : buf->fileName().c_str()) << endl;
+ lyxerr << _("lyx: Attempting to save document ")
+ << (buf->isUnnamed() ? OnlyFilename(buf->fileName())
+ : buf->fileName())
+ << _(" as...") << endl;
// We try to save three places:
return os;
}
-///
-std::string fmt(char const * fmtstr ...);
-
#endif
#include "insets/insetspecialchar.h"
#include "insets/insettext.h"
+using std::endl;
extern string current_layout;
bv->finishChange();
break;
- case LFUN_WORDRIGHT:
+ case LFUN_WORDRIGHT:
if (!selection.mark())
bv->beforeChange(this);
update(bv, false);
if (!clip.empty()) {
if (cmd.argument == "paragraph")
insertStringAsParagraphs(bv, clip);
- else
+ else
insertStringAsLines(bv, clip);
clearSelection();
update(bv);