<blockquote>
<p>Correct, its intended to display as a document overview, same for rest. But thats not what uctags is designed for, but it seems to be able to include sufficient information to work correctly.</p>
</blockquote>
<p>It's not a matter of how it's displayed in Overview (which is our business to do it right in Geany) but the problem is that the scope field in the tag file isn't complete and only contains its immediate parent (instead of full scope like all other parsers).</p>
<blockquote>
<p>Not sure what you mean by this? AFAICT identically named sections display correctly see.</p>
</blockquote>
<p>Try this:</p>
<pre><code>= foo
 
== foo

=== foo
 
== foo
</code></pre>
<p>I agree with <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=793526" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/b4n">@b4n</a> the current implementation isn't the best but I'd prefer not introducing a diff in Geany now and rather fix it upstream.</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/2019#issuecomment-449185635">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ6mUSndE37BluHcCPAaNLMulrpiCks5u7CmjgaJpZM4ZXxvS">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJxOemQdQyH07TjUl7iTBgFB61YcFks5u7CmjgaJpZM4ZXxvS.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@techee in #2019: \u003e Correct, its intended to display as a document overview, same for rest. But thats not what uctags is designed for, but it seems to be able to include sufficient information to work correctly.\r\n\r\nIt's not a matter of how it's displayed in Overview (which is our business to do it right in Geany) but the problem is that the scope field in the tag file isn't complete and only contains its immediate parent (instead of full scope like all other parsers).\r\n\r\n\u003e Not sure what you mean by this? AFAICT identically named sections display correctly see.\r\n\r\nTry this:\r\n```\r\n= foo\r\n \r\n== foo\r\n\r\n=== foo\r\n \r\n== foo\r\n```\r\n\r\nI agree with @b4n the current implementation isn't the best but I'd prefer not introducing a diff in Geany now and rather fix it upstream."}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/2019#issuecomment-449185635"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2019#issuecomment-449185635",
"url": "https://github.com/geany/geany/pull/2019#issuecomment-449185635",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>