[gnome-builder/gnome-builder-3-18] clang: show optional completion param value in italic
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-18] clang: show optional completion param value in italic
- Date: Tue, 13 Oct 2015 07:39:44 +0000 (UTC)
commit ef1d06e81023ea915d371719904b700aa514277f
Author: Christian Hergert <chergert redhat com>
Date: Sun Oct 11 14:46:49 2015 -0400
clang: show optional completion param value in italic
plugins/clang/ide-clang-completion-item.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/clang/ide-clang-completion-item.c b/plugins/clang/ide-clang-completion-item.c
index 2748324..25863b5 100644
--- a/plugins/clang/ide-clang-completion-item.c
+++ b/plugins/clang/ide-clang-completion-item.c
@@ -187,6 +187,9 @@ ide_clang_completion_item_lazy_init (IdeClangCompletionItem *self)
break;
case CXCompletionChunk_Optional:
+ g_string_append_printf (markup, "<i>%s</i>", escaped);
+ break;
+
default:
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]