[Github-comments] [geany/geany] Improve handling of anonymous tags (PR #3059)

Jiří Techet notifications at xxxxx
Mon Dec 20 15:36:19 UTC 2021


@techee commented on this pull request.



> @@ -695,7 +695,7 @@ static void fill_find_tags_array_prefix(GPtrArray *dst, const GPtrArray *src,
 	for (i = 0; i < count && num < max_num; ++i)
 	{
 		if (tm_parser_langs_compatible(lang, (*tag)->lang) &&
-			!tm_tag_is_anon(*tag) &&
+			!((*tag)->flags & tm_tag_flag_anon_t) &&

Yeah, you are right, looking at it now side by side, this is much less readable. Will fix.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3059#discussion_r772463712
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3059/review/836530174 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211220/d0186068/attachment.htm>


More information about the Github-comments mailing list