[gnome-builder] libide: insert space before paren
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: insert space before paren
- Date: Tue, 24 Mar 2015 00:21:41 +0000 (UTC)
commit c384c14cb261856f89131f25023f719ad39fff0e
Author: Christian Hergert <christian hergert me>
Date: Mon Mar 16 02:08:27 2015 -0700
libide: insert space before paren
We should make this respect file settings.
libide/clang/ide-clang-completion-item.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libide/clang/ide-clang-completion-item.c b/libide/clang/ide-clang-completion-item.c
index 8938be1..ca65665 100644
--- a/libide/clang/ide-clang-completion-item.c
+++ b/libide/clang/ide-clang-completion-item.c
@@ -158,6 +158,10 @@ ide_clang_completion_item_lazy_init (IdeClangCompletionItem *self)
case CXCompletionChunk_LeftParen:
g_string_append (markup, " ");
+ chunk = ide_source_snippet_chunk_new ();
+ ide_source_snippet_chunk_set_text (chunk, " ");
+ ide_source_snippet_add_chunk (snippet, chunk);
+ g_clear_object (&chunk);
/* fall through */
case CXCompletionChunk_RightParen:
case CXCompletionChunk_LeftBracket:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]