Commit f12eed0f authored by Christian Hergert's avatar Christian Hergert

clang: use :: as completion trigger

parent 129c333e
......@@ -84,6 +84,14 @@ ide_clang_completion_provider_is_trigger (IdeCompletionProvider *provider,
if (ch == '.' || ch == '(')
return TRUE;
if (ch == ':')
{
GtkTextIter copy = *iter;
if (gtk_text_iter_backward_chars (&copy, 2))
return gtk_text_iter_get_char (&copy) == ':';
}
if (ch == '>')
{
GtkTextIter copy = *iter;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment