Edit file in multiple windows, all move to same cursor position
if i have the same source file open in two windows, why does editing it in one window move what is displayed in the second window. this greatly reduces the usefulness of multi-window IDE.
this happens on Windows but does not happen on Linux. Wing Pro 7.2.2.10 (rev 9fade85bf33d).
thanks.
Comments
It sounds like a bug. It should be avoiding scrolling the inactive view, when working in the other split. Does it always happen? If so, does restarting Wing solve it? It may be helpful to see a bug report with error log, which you can submit from Wing's Help menu.
Happens here also all the time on Windows (not sure for Linux) for unknown reasons. A known one is auto-formatting before saving a file (in my case with black). The second split is jumping to the top of the file then. This is somewhat understandable, but a little bit annoying. At least it should scale in some way or another with the amount of changes made by the formatter. I could probably live with slight dislocation by a single or a few lines, but always using the top as safe reference is too flow-breaking, in particular for long files.
Thanks, that shouldn't be happening. We have code that can do a reasonable job in most cases to re-find a position in the file through changes, so there's no reason for this. We'll try to fix it.