mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-22 00:19:24 +03:00
69d059d24c
If the selected entry is the last entry in a directory that *itself* is the last entry of its parent, we need to search upward through our ancestors for the first directory that has a following sibling entry. Also, if the directory is empty, the attempt to select its first element will fail, so we need to search for a next sibling as well. |
||
---|---|---|
.. | ||
dir | ||
evil-files | ||
nested/nested2 | ||
zed | ||
coffee.coffee | ||
sample-with-tabs.coffee | ||
sample.js | ||
sample.txt | ||
two-hundred.txt |