[gtksourceview] Completion: test markup
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Completion: test markup
- Date: Wed, 4 Feb 2015 16:33:41 +0000 (UTC)
commit 0c667e83573be672c9b1d61ca6ef05a1c363c41f
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Feb 4 17:27:11 2015 +0100
Completion: test markup
It works. So I don't know why it doesn't work for the headers (they have
the <b> markup, so they should be in bold but they aren't…).
tests/test-completion.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tests/test-completion.c b/tests/test-completion.c
index 0a6b0bd..ad40140 100644
--- a/tests/test-completion.c
+++ b/tests/test-completion.c
@@ -197,10 +197,10 @@ test_provider_set_fixed (TestProvider *provider,
}
proposals = g_list_prepend (proposals,
- gtk_source_completion_item_new ("A very long proposal. I repeat, a very
long proposal!",
- "A very long proposal. I repeat, a very
long proposal!",
- icon,
- "To test the horizontal scrollbar."));
+ gtk_source_completion_item_new_with_markup ("A very <b>long</b> proposal.
I <i>repeat</i>, a very long proposal!",
+ "A very long proposal. I
repeat, a very long proposal!",
+ icon,
+ "To test the horizontal
scrollbar and the markup."));
provider->proposals = proposals;
provider->is_random = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]