Ask Your Question
2

Edit file in multiple windows, all move to same cursor position

asked 2020-05-25 10:25:27 -0500

pymike gravatar image

updated 2020-05-25 11:10:59 -0500

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.

edit retag flag offensive 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 gravatar imageWingware 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 gravatar imageMichael ( 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 gravatar imageWingware Support ( 2020-06-08 10:41:36 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-05-25 13:02:47 -0500

pymike gravatar image

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

edit flag offensive delete link more

Comments

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

Wingware Support gravatar imageWingware 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 gravatar imagepymike ( 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 gravatar imageWingware Support ( 2020-05-26 09:52:40 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-05-25 10:25:27 -0500

Seen: 201 times

Last updated: May 25