I know there are lots of getcp sort of functions, i'm trying to put a few together to achieve the following.
Say you are half way through a document, and viewing full screen, If you resize to windowed, what was the top line in view is no longer positioned at the top of the screen, it is several lines down.
Prior to window resize, I need to get the actual cp in the file, then after resize is complete, somehow move the yoffset so that what was the top line (or just word due to wprapping) in view goes to the top line in the new window size.
-damon