Xcode can't remember?
In CodeWarrior, BBEdit (and MPW before that), when you open a text file, and then close it, the editor remembers a bunch of stuff about the file. Things like:
1) The position of the window.
2) The position of the text in the window (how far down/over you have scrolled the window.
3) The selected text
This is really cool, because when you re-open a source file, you are "right back" where you were when you closed it. You can arrange frequently opened files on the screen, and know that they'll be in the same place when you come back to work tomorrow, and the same piece of code that you were working on is still visible.
Apparently, Xcode doesn't do this :-(
Off to learn how to use BBEdit as an external editor, I guess.