]> git.lyx.org Git - lyx.git/blobdiff - src/support/debug.h
add onoff support for "inset-modify changetype xxx" in include inset
[lyx.git] / src / support / debug.h
index c68a379e913c818fe4bd37c0144438f029440bb8..fb1434107da1606ba16aec6a43eca22ec2a15bba 100644 (file)
@@ -9,7 +9,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Jean-Marc Lasgouttes
  *
  * Full author contact details are available in file CREDITS.
@@ -66,7 +66,7 @@ namespace Debug {
                ///
                LYXSERVER  = (1 << 12),  // 4096
                ///
-               ROFF       = (1 << 13),  // 8192
+               UNDO       = (1 << 13),  // 8192
                ///
                ACTION     = (1 << 14),   // 16384
                ///
@@ -90,6 +90,16 @@ namespace Debug {
                ///
                PAINTING   = (1 << 24),
                ///
+               SCROLLING  = (1 << 25),
+               ///
+               MACROS     = (1 << 26),
+               ///     rtl-related
+               RTL        = (1 << 27),
+               ///     locale related
+               LOCALE     = (1 << 28),
+               ///     selection
+               SELECTION  = (1 << 29),
+               ///
                DEBUG      = (1 << 31),
                ///
                ANY = 0xffffffff
@@ -183,6 +193,10 @@ extern LyXErr lyxerr;
                else { lyx::lyxerr << CURRENT_POSITION << msg; lyx::lyxerr.endl(); } \
        } while (0)
 
-#define LYXERR0(msg) LYXERR(lyx::Debug::ANY, msg)
+#define LYXERR0(msg) \
+       do { \
+               lyx::lyxerr << CURRENT_POSITION << msg; lyx::lyxerr.endl(); \
+       } while (0)
+
 
 #endif