Many a times I have to deal with code files which are quite long - about 5 screen pages at the minimum. Almost always there is something towards the top/bottom that I need to refer when I'm at the bottom/top (respectively). It's a mammoth overhead to constantly scroll back-n-forth between the file parts.
It's a cognitive overload to just remember each and everything throughout the file and it's quite necessary to be able to refer to parts of the file.
So as programmers what are some of the techniques/practices that can be employed to reduce this ridiculous overhead?
PS: As of now, I split the file among multiple editors e.g. Eclipse and Aptana. It'd be great to have it at one place, but is that the best that we can do? :)
UPDATE - Seems Eclipse has way for doing this and can be found here