
11 Sep
2007
11 Sep
'07
11:23 p.m.
bulia byak wrote:
On document load, zoom is restored by sp_namedview_window_from_document. So in the revert command, you just need to remember zoom before that and restore it after loading.
Alright, since it really turned out to be easy I added some lines of code. Now reverting files always preserves the current zoom and view. This is what I personally have come to find the most useful behaviour. I don't use revert often, though, so if this contradicts the way of working anyone has gotton used to, please tell me so that the change can either be reverted or an option added to the preferences to switch between both alternatives.
Thanks, Max