dunx
Junior Member
Posts: 66
|
Post by dunx on Oct 29, 2005 0:00:02 GMT
You've mentioned that the state saving isn't really working yet which is fine, but in the TO DO list you only talk about state saving across project sessions. I've noticed that the state saving in-session when you switch between documents seems broken too.
To reproduce:
1/ in the Outline view, open a longish document eg the tutorial Start Here! page
2/ resize your window so that a scroll bar appears
3/ scroll the window (don't move the cursor) to the bottom of the document
4/ switch to another document
5/ return to the original document. It will have reset its view to the top of the page or where the cursor is.
I have to say that when I first noticed this bug I didn't realise that the view position is tied to the cursor location so it's not so bad, but if you keep switching between documents (eg to check some detail) and don't relocate the cursor then the view reset is going to be annoying.
|
|
|
Post by KB on Oct 29, 2005 0:15:16 GMT
This isn't specificly on the "to do" list, but in my head it comes under "Current text selection [NEEDS CONCEPTUAL WORK]". Like you say, at the moment when reopening a document it scrolls to the selection point... This is kind of normal in other editors of the type (Ulysses and Copywrite, for instance), so I'm not sure if this behaviour will change. The problem is that it would have to remember the co-ordinate of the window at which you are scrolled, but if you resize the window this could become invalid... Though I could check for that and then flick back to selection instead, so maybe that is a good idea (hence "needs conceptual work" ). You are right that state-saving between documents isn't working across the board yet, though - this applies to remembering zoom too. Thanks, Keith
|
|
dunx
Junior Member
Posts: 66
|
Post by dunx on Oct 29, 2005 0:20:09 GMT
A suggestion on the concept, then: don't remember the view location, remember the first character which is displayed in the view.
You would then have two carets: the text input caret, and the view start caret.
That would be cheaper to store than the view coordinates too.
|
|
|
Post by KB on Oct 29, 2005 0:22:01 GMT
Excellent suggestion - adding it to the to do list now. Thanks!
|
|