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

User configurable autohide delay #109

Closed pelatx closed 5 years ago

pelatx commented 5 years ago

Hi,

This PR adds an entry in View menu which opens a modal dialog with a range slider.

That slider adjust the delay of the outline to be exposed, when we hover over the placeholder.

I supposed a range between 0 and 1000 milliseconds is enougth.

pelatx commented 5 years ago

Ups! Travis-ci wants me to work more.

Tomorrow I'll take a look.

Hirse commented 5 years ago

Regarding the csslint errors, I think two of them should be disabled:

  1. Using height with border can sometimes make elements larger than you expect. (maybe warning)
  2. The property -moz-appearance is compatible with -webkit-appearance and should be included as well. (Brackets is Chrome shell only, right? ... then again, it doesn't hurt to include it)
pelatx commented 5 years ago

I'm going to commit the changes to check if it passes the tests and so you can find something else that needs to be changed.

Even if the comments were corrected, we have to see if the style of the slider is correct.