During Window Resize Text Does not Match final margin

Paul Solt's Avatar

Paul Solt

21 Aug, 2017 10:51 AM

Resizing does not match the final size after you change a window's size.

The max margin doesn't look like it's respected when you make a window that was skinny wider during the resize drag.

Steps
1. Click on corner and drag to resize

Expected
1. Resized window content should match the end result

Actual
1. The text continues to stretch and fill the space
2. After the resize, the text snaps back to the margin extents
3. The current cursor scroll position is not the same

  1. Support Staff 1 Posted by Fletcher on 21 Aug, 2017 11:54 AM

    Fletcher's Avatar

    Are you sure you're using a recent build for that? I can't replicate.

    Thanks!

    F-

  2. 2 Posted by Paul Solt on 21 Aug, 2017 04:19 PM

    Paul Solt's Avatar

    Version 4.0b (17)

    -Paul

  3. Support Staff 3 Posted by Fletcher on 21 Aug, 2017 04:20 PM

    Fletcher's Avatar

    4.0b19 is the latest

  4. 4 Posted by Paul Solt on 21 Aug, 2017 04:24 PM

    Paul Solt's Avatar

    I see this with longer documents 4000+ words

    Attached is a sample file with some different code and markdown blocks

  5. Support Staff 5 Posted by Fletcher on 21 Aug, 2017 04:38 PM

    Fletcher's Avatar

    Got it.

    Because of the maximum line length autozoom features, the horizontal margins are recalculated any time the window changes sizes. For short documents this is fast enough to happen live. With longer documents, it's a bit slower, and at a certain point macOS disables the live resizing and waits until you pick a size.

    I'll see if I can change this, but no guarantees.

    Thanks!

    F-

  6. Support Staff 6 Posted by Fletcher on 23 Aug, 2017 06:47 AM

    Fletcher's Avatar

    I rewrote all the code related to this, and was able to remove some inefficiencies and redundancies. The new version is much faster -- needs a bit more testing and then it will be in the next release.

  7. Fletcher closed this discussion on 23 Aug, 2017 06:47 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac