[Github-comments] [geany] Rewrite scope completion 3 (#862)

Jiří Techet notifications at xxxxx
Mon Jan 11 19:35:07 UTC 2016


> -/* Returns all matching members tags found in given struct/union/class name.
> - @param name Name of the struct/union/class.
> - @param file_tags A GPtrArray of edited file TMTag pointers (for search speedup, can be NULL).
> - @return A GPtrArray of TMTag pointers to struct/union/class members */
> -const GPtrArray *
> -tm_workspace_find_scope_members (const GPtrArray * file_tags, const char *name,
> -								 gboolean search_global, gboolean no_definitions)
> +/* Returns tags with the specified prefix sorted by name. If there are several
> + tags with the same name, only one of them appears in the resulting array.
> + @param prefix The prefix of the tag to find.
> + @param lang Specifies the language(see the table in parsers.h) of the tags to be found,
> +             -1 for all.
> + @param max_num The maximum number of tags to return.
> + @return Array of matching tags sorted by their name.
> +*/
> +GPtrArray *tm_workspace_find_prefix(const char *prefix, langType lang, gint max_num)

OK.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/862/files#r49366909
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160111/74ca0db4/attachment.html>


More information about the Github-comments mailing list