<p></p>
<blockquote>
<p dir="auto">You can use isTagExtraBitMarked() declared in ctags:main/entry.h to detect whether a tag is anonymous or not.<br>
As the extra parameter, use XTAG_ANONYMOUS declared in main/entry.h.</p>
</blockquote>
<p dir="auto">Yep, I'm aware of that and I want to address that in the future. The problem is that our internal representation of tags <code>TMTag</code></p>
<p dir="auto"><a href="https://github.com/geany/geany/blob/eabc09a5591e8f2efd95ca136f5870c8dcba5483/src/tagmanager/tm_tag.h#L87">https://github.com/geany/geany/blob/eabc09a5591e8f2efd95ca136f5870c8dcba5483/src/tagmanager/tm_tag.h#L87</a></p>
<p dir="auto">doesn't contain a field where this information could be stored and adding more fields is an ABI change because this structure is accessible to plugins so better avoid that. But I think we could use the <code>pointerOrder</code> integer inside <code>TMTag</code> which is just some legacy field unused by anything neither in Geany nor plugins and could convert it to a flag field where information about whether a tag is anonymous or not could be stored.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/3032#issuecomment-981163631">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3S6G2ES5MYUEPCC4TUOKT57ANCNFSM5I5I4WZA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ2DY5CSO6NBHDI2G4DUOKT57A5CNFSM5I5I4WZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHJ5V43Y.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/3032#issuecomment-981163631",
"url": "https://github.com/geany/geany/pull/3032#issuecomment-981163631",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>