[gnome-builder] snippets: keep priority at top
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] snippets: keep priority at top
- Date: Wed, 13 Jun 2018 11:32:54 +0000 (UTC)
commit 8958d331194d019c1376eb550614f186fa7d1f6c
Author: Christian Hergert <chergert redhat com>
Date: Wed Jun 13 04:27:33 2018 -0700
snippets: keep priority at top
These still turn out to be really useful at the top, so keep them in place
so things are more predictable.
src/plugins/snippets/ide-snippet-completion-provider.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/snippets/ide-snippet-completion-provider.c
b/src/plugins/snippets/ide-snippet-completion-provider.c
index b0615f851..e76609ee2 100644
--- a/src/plugins/snippets/ide-snippet-completion-provider.c
+++ b/src/plugins/snippets/ide-snippet-completion-provider.c
@@ -78,6 +78,7 @@ static gint
ide_snippet_completion_provider_get_priority (IdeCompletionProvider *provider,
IdeCompletionContext *context)
{
+#if 0
GtkTextIter begin, end;
if (ide_completion_context_get_bounds (context, &begin, &end))
@@ -90,6 +91,7 @@ ide_snippet_completion_provider_get_priority (IdeCompletionProvider *provider,
return 500;
}
}
+#endif
return -100;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]