This syncs the zoom level from the main editor window to the split window.

The split window now:
- inherits the current zoom level when it is created
- updates its zoom level whenever the main editor zoom changes

Without synchronized zoom, split windows are less useful for comparing or 
working with the same document. This patch intentionally does not add 
independent zoom levels for split windows; both views share the same zoom 
setting for now.

The margin_click handling includes an additional check because the notify 
handler is reused by both the main editor and split window code paths.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/4623

-- Commit Summary --

  * Sync zoom level between split windows

-- File Changes --

    M plugins/splitwindow.c (28)

-- Patch Links --

https://github.com/geany/geany/pull/4623.patch
https://github.com/geany/geany/pull/4623.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4623
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/[email protected]>

Reply via email to