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

Jiří Techet notifications at xxxxx
Mon Dec 20 21:35:07 UTC 2021


@techee commented on this pull request.



> @@ -94,14 +101,15 @@ typedef struct TMTag
 	TMSourceFile *file; /**< File in which the tag occurs; NULL for global tags */
 	gulong line; /**< Line number of the tag */
 	gboolean local; /**< Is the tag of local scope */
-	guint pointerOrder;
+	guint flags; /**< Additional flags */

This was intentional - plugins should know if a tag is anonymous (I currently don't do it right in my ProjectOrganizer plugin but in Find Tag where you can find a tag by name I should ignore anonymous tags).

I didn't do this with the kind_letter because there I really don't see much reason why plugins should look at it (and in addition, it may not always be present in the TMTag structure, for instance when the tag is read from our custom tag file format).

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

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


More information about the Github-comments mailing list