First time here? Check out the FAQ!
2

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.

pymike's avatar
196
pymike
asked 2020-05-25 10:25:27 -0500
Wingware Support's avatar
4.1k
Wingware Support
updated 2020-05-25 11:10:59 -0500
edit flag offensive 0 remove flag close merge delete

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.

Wingware Support's avatar Wingware Support (2020-05-25 11:12:26 -0500) edit

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.

Michael's avatar Michael (2020-06-06 05:03:21 -0500) edit

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.

Wingware Support's avatar Wingware Support (2020-06-08 10:41:36 -0500) edit
add a comment see more comments

1 Answer

1

actually closing/restarting Wing makes the problem disappear. Thanks for your feedback.

pymike's avatar
196
pymike
answered 2020-05-25 13:02:47 -0500
edit flag offensive 0 remove flag delete link

Comments

OK, thanks for letting us know. If you figure out how to trigger the problem please let us know.

Wingware Support's avatar Wingware Support (2020-05-25 13:18:30 -0500) edit

it seems to reappear if you do any interactive debugging (eg breakpoints and walking through code)

pymike's avatar pymike (2020-05-25 13:32:24 -0500) edit

I'm not seeing it yet but will continue to try to replicate it. If you can email your preferences to support@wingware.com that might help us track it down. Thanks!

Wingware Support's avatar Wingware Support (2020-05-26 09:52:40 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer