[gnome-builder/wip/extensions] highlight-engine: make trace probe more descriptive
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/extensions] highlight-engine: make trace probe more descriptive
- Date: Sat, 27 Jun 2015 08:48:20 +0000 (UTC)
commit d80d72c284b802e83bf9398471b434e1426c26b1
Author: Christian Hergert <christian hergert me>
Date: Sat Jun 27 01:48:03 2015 -0700
highlight-engine: make trace probe more descriptive
libide/ide-highlight-engine.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/libide/ide-highlight-engine.c b/libide/ide-highlight-engine.c
index 1ecb632..cf3144a 100644
--- a/libide/ide-highlight-engine.c
+++ b/libide/ide-highlight-engine.c
@@ -301,8 +301,6 @@ ide_highlight_engine_tick (IdeHighlightEngine *self)
GtkTextIter invalid_end;
GSList *tags_iter;
- IDE_PROBE;
-
g_assert (IDE_IS_HIGHLIGHT_ENGINE (self));
g_assert (self->buffer != NULL);
g_assert (self->highlighter != NULL);
@@ -316,11 +314,12 @@ ide_highlight_engine_tick (IdeHighlightEngine *self)
gtk_text_buffer_get_iter_at_mark (buffer, &invalid_begin, self->invalid_begin);
gtk_text_buffer_get_iter_at_mark (buffer, &invalid_end, self->invalid_end);
- IDE_TRACE_MSG ("Highlight Range [%u:%u,%u:%u]",
+ IDE_TRACE_MSG ("Highlight Range [%u:%u,%u:%u] (%s)",
gtk_text_iter_get_line (&invalid_begin),
gtk_text_iter_get_line_offset (&invalid_begin),
gtk_text_iter_get_line (&invalid_end),
- gtk_text_iter_get_line_offset (&invalid_end));
+ gtk_text_iter_get_line_offset (&invalid_end),
+ G_OBJECT_TYPE_NAME (self->highlighter));
if (gtk_text_iter_compare (&invalid_begin, &invalid_end) >= 0)
IDE_GOTO (up_to_date);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]