- tags = tm_workspace_find(name, tm_tag_max_t, NULL, FALSE, ft->lang);
- g_free(name);
- if (!tags || tags->len == 0)
return;
- /* check if invoked on member */
- pos -= strlen(name);
- while (pos > 0 && isspace(sci_get_char_at(sci, pos - 1)))
pos--;
- member = match_last_chars(sci, pos, ".") || match_last_chars(sci, pos, "::") ||
match_last_chars(sci, pos, "->") || match_last_chars(sci, pos, "->*");
This might also want to use `context_sep` (although it's less of a problem as it's not restricted to specific languages). BTW, maybe the duplication could be removed somehow?
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/862/files#r49340337