<blockquote>
<p>The most important reason why this is a problem is that with this behavior the parser output is semantically different from other parsers</p>
</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>not to mention that it's then harder to distinguish children of identically-named sections.</p>
</blockquote>
<p>Not sure what you mean by this?  AFAICT identically named sections display correctly <a href="https://pastebin.geany.org/JOm69/" rel="nofollow">see</a>.</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-449181425">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJxQ7OZIhCPQBu_InTIIH_HAiJKraks5u7CPFgaJpZM4ZXxvS">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ4l-s2oKMrEAVPpJhZD3nCoykL1mks5u7CPFgaJpZM4ZXxvS.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":"@elextr in #2019: \u003e  The most important reason why this is a problem is that with this behavior the parser output is semantically different from other parsers\r\n\r\nCorrect, 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\n\u003e not to mention that it's then harder to distinguish children of identically-named sections.\r\n\r\nNot sure what you mean by this?  AFAICT identically named sections display correctly [see](https://pastebin.geany.org/JOm69/).\r\n\r\n"}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/2019#issuecomment-449181425"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2019#issuecomment-449181425",
"url": "https://github.com/geany/geany/pull/2019#issuecomment-449181425",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>