adapt-it / adaptit

Related language translation editor
Other
10 stars 5 forks source link

Sync scrolling on non-Windows platforms #61

Closed eb1 closed 3 years ago

eb1 commented 3 years ago

This enhancement request was originally files under Adapt It Mobile (https://github.com/adapt-it/adapt-it-mobile/issues/430):

Adapt It, Paratext, Bibledit, and Accordance have implemented a feature in Windows that allows apps to synchronize their scrolling such that each app displays the same reference. This synchronous scrolling is facilitated by a Windows registry key, and broadcast SendMessage() calls to all open windows on the current machine.

For MacOS, the Accordance and Bibledit apps are using Apple's NSDistributedNotificationCenter class, which is available for Objective-C apps.

eb1 commented 3 years ago

Marking this enhancement as closed/wontfix:

Adapt It desktop relies on the wxWidgets toolkit to provide native tooling / controls for each platform. Currently there is no implementation for the NSDistributedNotificationCenter class in wxWidgets, so this approach would not work for Adapt It.

I've chatted a bit with the wvWidgets developer about this. If the wxWidgets toolkit decides to support the NWDistributedNotificationCenter in the future, we can reopen / revisit this enhancement request. Sync scrolling is a useful feature on Windows, and would make a good feature addition on other platforms.