One thing I tried to make in Emacs was a window at the top which shows the lines that you do not see that are unindenting from the currently visible indentation. It would act almost like a header. Next, would be to display these vertically inside the space created by the indentation itself. I don't see how to pack more source code context information on a screen than that
did it work? can you share? I imagine a sticky header for the last line of any text from another level, is that would you built?
Re: The Emacs Widget Library
#51edit: found a plugin that does it nicely for org-mode :) org-sticky-header