Sticky subroutine headers

henry1 8 years ago 0
Not something I have seen in other editors, but would be very useful for me. It would be nice for subroutine/function/module/class declarations to act as a type of "sticky header" which would stay at the top of the screen until you have scrolled past the end of the structure. A good demonstration can be found on this page: http://www.noodlesoft.com/blog/2009/09/25/sticky-section-headers-in-nstableview/

Sometimes, for example, I search for something and then have to find out what subroutine the result is in, so I need to scroll back slowly looking for the declaration. (I read a a lot of code other people have written with very long functions).