[gnome-builder] clang: show optional completion param value in italic
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] clang: show optional completion param value in italic
- Date: Sun, 11 Oct 2015 18:46:57 +0000 (UTC)
commit 4b057a9619090df79b15f5e3c94c351644c36436
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]