My guess is that you're scrolling - but your cursor is still towards the top of the file.
To get around this..once you're done scrolling - left click in the .prg file somwhere near where you've scrolled to prior to typing anything - as that will move the cursor to where you've scrolled too....THEN start typing.
>Hi All,
>
>This is an old issue that I have experienced in all versions of VFP so finally thought I would ask ...
>
>Sometimes when editing a prg file in the VFP IDE editor, especially a long one, I can be scrolling down through the file one line at a time, sometimes paging down, and then the editor will suddenly jump back to the top of the entire file. Why is that and how to resolve it?
>
>Thanks
ICQ 10556 (ya), 254117