mirror of
https://github.com/textmate/textmate.git
synced 2026-01-21 04:38:13 -05:00
This is when switching tabs ore re-opening a file. Restoring the visible rectangle doesn’t always work because we do an initial heuristic layout where we don’t do proper soft wrap and may also lack scoped settings to increase font size for headings, meaning that the restored visible rectangle does not point to the same section of the text, as it would with a fully updated layout. This fixes #243.