#include "CoordCache.h"
#include "Cursor.h"
#include "CutAndPaste.h"
-#include "debug.h"
#include "DispatchResult.h"
#include "EmbeddedFiles.h"
#include "ErrorList.h"
#include "FloatList.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
-#include "gettext.h"
#include "Intl.h"
#include "InsetIterator.h"
#include "Language.h"
#include "graphics/Previews.h"
#include "support/convert.h"
-#include "support/lstrings.h"
+#include "support/debug.h"
#include "support/FileFilterList.h"
#include "support/filetools.h"
+#include "support/gettext.h"
+#include "support/lstrings.h"
#include "support/Package.h"
#include "support/types.h"
-#include <boost/current_function.hpp>
-
#include <cerrno>
#include <fstream>
#include <functional>
d->offset_ref_ = 0;
}
- LYXERR(Debug::GUI, BOOST_CURRENT_FUNCTION
- << " Updating scrollbar: height: " << t.paragraphs().size()
+ LYXERR(Debug::GUI, " Updating scrollbar: height: "
+ << t.paragraphs().size()
<< " curr par: " << d->cursor_.bottom().pit()
<< " default height " << defaultRowHeight());
void BufferView::scrollDocView(int value)
{
- LYXERR(Debug::GUI, BOOST_CURRENT_FUNCTION << "[ value = " << value << "]");
+ LYXERR(Debug::GUI, "[ value = " << value << "]");
Text & t = buffer_.text();
TextMetrics & tm = d->text_metrics_[&t];
Update::flags BufferView::dispatch(FuncRequest const & cmd)
{
- //lyxerr << BOOST_CURRENT_FUNCTION
- // << [ cmd = " << cmd << "]" << endl;
+ //lyxerr << [ cmd = " << cmd << "]" << endl;
// Make sure that the cached BufferView is correct.
- LYXERR(Debug::ACTION, BOOST_CURRENT_FUNCTION
- << " action[" << cmd.action << ']'
+ LYXERR(Debug::ACTION, " action[" << cmd.action << ']'
<< " arg[" << to_utf8(cmd.argument()) << ']'
<< " x[" << cmd.x << ']'
<< " y[" << cmd.y << ']'
void BufferView::mouseEventDispatch(FuncRequest const & cmd0)
{
- //lyxerr << BOOST_CURRENT_FUNCTION << "[ cmd0 " << cmd0 << "]" << endl;
+ //lyxerr << "[ cmd0 " << cmd0 << "]" << endl;
// This is only called for mouse related events including
// LFUN_FILE_OPEN generated by drag-and-drop.
d->update_strategy_ = SingleParUpdate;
- LYXERR(Debug::PAINTING, BOOST_CURRENT_FUNCTION
- << "\ny1: " << pm.position() - pm.ascent()
+ LYXERR(Debug::PAINTING, "\ny1: " << pm.position() - pm.ascent()
<< " y2: " << pm.position() + pm.descent()
<< " pit: " << bottom_pit
<< " singlepar: 1");
// Take care of descent of last line
y2 += tm.parMetrics(pit2).descent();
- LYXERR(Debug::PAINTING, BOOST_CURRENT_FUNCTION
- << "\n y1: " << y1
+ LYXERR(Debug::PAINTING, "\n y1: " << y1
<< " y2: " << y2
<< " pit1: " << pit1
<< " pit2: " << pit2