Hirse / brackets-outline-list

Extension for Brackets and Phoenix to display a list of the functions or definitions in the currently opened document.
MIT License
79 stars 30 forks source link

Autohide fixes. #111

Closed pelatx closed 5 years ago

pelatx commented 5 years ago

This PR fixes small problems related to the Autohide feature:

It prevents both the placeholder and an erroneous outline list corresponding to the last valid one from being displayed, when the type of the document is not supported by the extension.

And it makes the autohide have the same default behavior of the extension of not showing anything in this case.

PD: I hope not to make you work as much as in my previous PR, @Hirse.