[gnome-builder] libide: add mask to check for diagnostics



commit ecfe9256db2619876cfedd214ad3a51fc2b7c54b
Author: Christian Hergert <christian hergert me>
Date:   Wed Feb 25 19:57:09 2015 -0800

    libide: add mask to check for diagnostics

 libide/ide-buffer.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libide/ide-buffer.h b/libide/ide-buffer.h
index 59c3777..7e15f6b 100644
--- a/libide/ide-buffer.h
+++ b/libide/ide-buffer.h
@@ -41,6 +41,10 @@ typedef enum
   IDE_BUFFER_LINE_FLAGS_ERROR    = 1 << 2,
   IDE_BUFFER_LINE_FLAGS_WARNING  = 1 << 3,
   IDE_BUFFER_LINE_FLAGS_NOTE     = 1 << 4,
+
+  IDE_BUFFER_LINE_FLAGS_DIAGNOSTICS_MASK = (IDE_BUFFER_LINE_FLAGS_ERROR |
+                                            IDE_BUFFER_LINE_FLAGS_WARNING |
+                                            IDE_BUFFER_LINE_FLAGS_NOTE),
 } IdeBufferLineFlags;
 
 G_DEFINE_AUTOPTR_CLEANUP_FUNC (IdeBuffer, g_object_unref)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]