]> git.lyx.org Git - lyx.git/blobdiff - src/support/debug.h
Andre's s/getTextClass/textClass/ cleanup.
[lyx.git] / src / support / debug.h
index c68a379e913c818fe4bd37c0144438f029440bb8..d1cd19b112306a9f144badb87e18fa4710100c7b 100644 (file)
@@ -90,6 +90,12 @@ namespace Debug {
                ///
                PAINTING   = (1 << 24),
                ///
+               SCROLLING  = (1 << 25),
+               ///
+               MACROS     = (1 << 26),
+               ///     rtl-related
+               RTL        = (1 << 27),
+               ///
                DEBUG      = (1 << 31),
                ///
                ANY = 0xffffffff
@@ -183,6 +189,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