[LyX/master] Send some debug info to ACTION
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Thu Jul 20 20:25:55 UTC 2023
commit f31bf0df1dec6e815fe28872b1cfeaf608e4ffb0
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date: Thu Jul 20 23:39:15 2023 +0200
Send some debug info to ACTION
---
src/Cursor.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/Cursor.cpp b/src/Cursor.cpp
index 7afefcf..98b2b15 100644
--- a/src/Cursor.cpp
+++ b/src/Cursor.cpp
@@ -795,7 +795,7 @@ void Cursor::dispatch(FuncRequest const & cmd0)
disp_.dispatched(true);
disp_.screenUpdate(Update::FitCursor | Update::Force);
FuncRequest tmpcmd = cmd;
- LYXERR(Debug::DEBUG, "Cursor::dispatch: (AtPoint) cmd: "
+ LYXERR(Debug::ACTION, "Cursor::dispatch: (AtPoint) cmd: "
<< cmd0 << endl << *this);
nextInset()->dispatch(*this, tmpcmd);
if (disp_.dispatched()) {
@@ -807,7 +807,7 @@ void Cursor::dispatch(FuncRequest const & cmd0)
// store some values to be used inside of the handlers
beforeDispatchCursor_ = *this;
for (; depth(); pop(), boundary(false)) {
- LYXERR(Debug::DEBUG, "Cursor::dispatch: cmd: "
+ LYXERR(Debug::ACTION, "Cursor::dispatch: cmd: "
<< cmd0 << endl << *this);
// In any of these cases, the cursor is invalid, and we should
@@ -829,7 +829,7 @@ void Cursor::dispatch(FuncRequest const & cmd0)
// it completely to get a 'bomb early' behaviour in case this
// object will be used again.
if (!disp_.dispatched()) {
- LYXERR(Debug::DEBUG, "RESTORING OLD CURSOR!");
+ LYXERR(Debug::ACTION, "RESTORING OLD CURSOR!");
// We might have invalidated the cursor when removing an empty
// paragraph while the cursor could not be moved out the inset
// while we initially thought we could. This might happen when
More information about the lyx-cvs
mailing list