<p></p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kugel-/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kugel-">@kugel-</a> sorry, I totally lost track of this PR.  Tested, some observations below, not sure if they are deliberate?  But they were surprising, appeared inconsistent, and in at least one case annoying.</p>
<p dir="auto">Initial layout:</p>
<pre class="notranslate"><code class="notranslate">V /data/nexciidoc/attic
    old_spec.edoc
V ~/tmpgeany/geany
    V data
        geany-3.0.css
    V src
        document.c
        > tagmanager
</code></pre>
<p dir="auto">The <code class="notranslate">V</code> means unrolled, and <code class="notranslate">></code> rolled up, there is a file open in tagmanager but I folded it up.</p>
<p dir="auto">Note the path starting with <code class="notranslate">~</code> sorts after <code class="notranslate">/data</code> which is correct because <code class="notranslate">~</code> is second last ASCII character</p>
<p dir="auto">Opened <code class="notranslate">~/atest.edoc</code> got:</p>
<pre class="notranslate"><code class="notranslate">V ~
    atest.edoc
    V /tmpgeany/geany
        V data
            geany-3.0.css
    V src
        document.c
        > tagmanager
V /data/nexciidoc/attic
    old_spec.edoc
</code></pre>
<p dir="auto">Note the resorting of <code class="notranslate">/data</code> when <code class="notranslate">~</code> became a top level, but the previous top level path still started with <code class="notranslate">~</code> and sorted after <code class="notranslate">/data</code>.</p>
<p dir="auto">When I closed <code class="notranslate">~/atest.edoc</code>:</p>
<pre class="notranslate"><code class="notranslate">V ~
    V /tmpgeany/geany
        V data
            geany-3.0.css
        V src
            document.c
            > tagmanager
V /data/nexciidoc/attic
    old_spec.edoc
</code></pre>
<p dir="auto">The <code class="notranslate">~</code> stayed separated even though it now had only one entry open.</p>
<p dir="auto">When I closed <code class="notranslate">geany-3.0.css</code>:</p>
<p dir="auto">I expected:</p>
<pre class="notranslate"><code class="notranslate">V ~
    V /tmpgeany/geany/src
        document.c
        > tagmanager
V /data/nexciidoc/attic
    old_spec.edoc
</code></pre>
<p dir="auto">but got:</p>
<pre class="notranslate"><code class="notranslate">V ~
    > /tmpgeany/geany/src
V /data/nexciidoc/attic
    old_spec.edoc
</code></pre>
<p dir="auto">Note <code class="notranslate">/tmpgeany/geany/src</code> folded uncommanded, that would get annoying if it kept happening.</p>
<p dir="auto">Also <code class="notranslate">~</code> still doesn't recombine, but when I closed and reopened Geany it combined and sorted after <code class="notranslate">/data</code>.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/1813#issuecomment-1116739566">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5GB3KE3MLPGYQ2D6DVIGWFPANCNFSM4EWIWKTQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJ7OSPUFITY2J4YBTH3VIGWFPA5CNFSM4EWIWKT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIKIBP3Q.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><geany/geany/pull/1813/c1116739566</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/1813#issuecomment-1116739566",
"url": "https://github.com/geany/geany/pull/1813#issuecomment-1116739566",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>