mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
disable a few messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8406 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
51cd5a7a70
commit
9270b36fb4
@ -888,7 +888,7 @@ bool BufferView::Pimpl::workAreaDispatch(FuncRequest const & cmd0)
|
|||||||
//
|
//
|
||||||
FuncRequest cmd = cmd0;
|
FuncRequest cmd = cmd0;
|
||||||
cmd.y += bv_->top_y();
|
cmd.y += bv_->top_y();
|
||||||
lyxerr << "*** workAreaDispatch: request: " << cmd << std::endl;
|
//lyxerr << "*** workAreaDispatch: request: " << cmd << std::endl;
|
||||||
LCursor cur(*bv_);
|
LCursor cur(*bv_);
|
||||||
switch (cmd.action) {
|
switch (cmd.action) {
|
||||||
#if 0
|
#if 0
|
||||||
@ -967,8 +967,7 @@ bool BufferView::Pimpl::workAreaDispatch(FuncRequest const & cmd0)
|
|||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
lyxerr << "*** UNDISPATCHED: " << cmd;
|
BOOST_ASSERT(false);
|
||||||
//owner_->dispatch(cmd);
|
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,7 @@ void LCursor::reset()
|
|||||||
|
|
||||||
DispatchResult LCursor::dispatch(FuncRequest const & cmd0)
|
DispatchResult LCursor::dispatch(FuncRequest const & cmd0)
|
||||||
{
|
{
|
||||||
//lyxerr << "\nLCursor::dispatch: cmd: " << cmd0 << endl << *this << endl;
|
lyxerr << "\nLCursor::dispatch: cmd: " << cmd0 << endl << *this << endl;
|
||||||
FuncRequest cmd = cmd0;
|
FuncRequest cmd = cmd0;
|
||||||
for (current_ = cursor_.size() - 1; current_ >= 1; --current_) {
|
for (current_ = cursor_.size() - 1; current_ >= 1; --current_) {
|
||||||
lyxerr << "trying to dispatch to inset " << inset() << endl;
|
lyxerr << "trying to dispatch to inset " << inset() << endl;
|
||||||
@ -108,8 +108,8 @@ DispatchResult LCursor::dispatch(FuncRequest const & cmd0)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
BOOST_ASSERT(current_ == 0);
|
BOOST_ASSERT(current_ == 0);
|
||||||
lyxerr << "trying to dispatch to main text " << bv_->text()
|
//lyxerr << "trying to dispatch to main text " << bv_->text()
|
||||||
<< " with cursor: " << *this << endl;
|
// << " with cursor: " << *this << endl;
|
||||||
DispatchResult res = bv_->text()->dispatch(*this, cmd);
|
DispatchResult res = bv_->text()->dispatch(*this, cmd);
|
||||||
//lyxerr << " result: " << res.val() << endl;
|
//lyxerr << " result: " << res.val() << endl;
|
||||||
return res;
|
return res;
|
||||||
|
@ -317,8 +317,8 @@ void InsetCollapsable::edit(LCursor & cur, int x, int y)
|
|||||||
DispatchResult
|
DispatchResult
|
||||||
InsetCollapsable::priv_dispatch(LCursor & cur, FuncRequest const & cmd)
|
InsetCollapsable::priv_dispatch(LCursor & cur, FuncRequest const & cmd)
|
||||||
{
|
{
|
||||||
lyxerr << "\nInsetCollapsable::priv_dispatch (begin): cmd: " << cmd
|
//lyxerr << "\nInsetCollapsable::priv_dispatch (begin): cmd: " << cmd
|
||||||
<< " button y: " << button_dim.y2 << endl;
|
// << " button y: " << button_dim.y2 << endl;
|
||||||
switch (cmd.action) {
|
switch (cmd.action) {
|
||||||
case LFUN_MOUSE_PRESS:
|
case LFUN_MOUSE_PRESS:
|
||||||
if (status_ == Inlined)
|
if (status_ == Inlined)
|
||||||
|
@ -210,7 +210,7 @@ int InsetERT::docbook(Buffer const &, ostream & os,
|
|||||||
|
|
||||||
DispatchResult InsetERT::priv_dispatch(LCursor & cur, FuncRequest const & cmd)
|
DispatchResult InsetERT::priv_dispatch(LCursor & cur, FuncRequest const & cmd)
|
||||||
{
|
{
|
||||||
lyxerr << "\nInsetERT::priv_dispatch (begin): cmd: " << cmd << endl;
|
//lyxerr << "\nInsetERT::priv_dispatch (begin): cmd: " << cmd << endl;
|
||||||
switch (cmd.action) {
|
switch (cmd.action) {
|
||||||
|
|
||||||
case LFUN_INSET_MODIFY: {
|
case LFUN_INSET_MODIFY: {
|
||||||
|
@ -246,10 +246,7 @@ void LyXFunc::processKeySym(LyXKeySymPtr keysym, key_modifier::state state)
|
|||||||
|
|
||||||
if (func.action == LFUN_SELFINSERT) {
|
if (func.action == LFUN_SELFINSERT) {
|
||||||
if (encoded_last_key != 0) {
|
if (encoded_last_key != 0) {
|
||||||
string arg;
|
string arg(1, encoded_last_key);
|
||||||
arg += encoded_last_key;
|
|
||||||
lyxerr << "SelfInsert arg[`"
|
|
||||||
<< arg << "']" << endl;
|
|
||||||
dispatch(FuncRequest(LFUN_SELFINSERT, arg));
|
dispatch(FuncRequest(LFUN_SELFINSERT, arg));
|
||||||
lyxerr[Debug::KEY]
|
lyxerr[Debug::KEY]
|
||||||
<< "SelfInsert arg[`" << arg << "']" << endl;
|
<< "SelfInsert arg[`" << arg << "']" << endl;
|
||||||
|
@ -890,7 +890,7 @@ int paintText(BufferView const & bv)
|
|||||||
ParagraphList::iterator pit;
|
ParagraphList::iterator pit;
|
||||||
bv.text()->updateParPositions();
|
bv.text()->updateParPositions();
|
||||||
bv.text()->getRowNearY(0, pit);
|
bv.text()->getRowNearY(0, pit);
|
||||||
lyxerr << "top_y: " << bv.top_y() << " y: " << pit->y << endl;
|
//lyxerr << "top_y: " << bv.top_y() << " y: " << pit->y << endl;
|
||||||
return paintPars(bv, *bv.text(), pit, 0, 0, pit->y);
|
return paintPars(bv, *bv.text(), pit, 0, 0, pit->y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user