lmparppei / Beat

Beat - a simple and elegant screenwriting app for macOS
Other
175 stars 30 forks source link

Bug: Paginated dialogue with double spaces gets cut off at wrong indices #118

Closed lmparppei closed 2 years ago

lmparppei commented 2 years ago

When a dialogue block contains double spaces between words or sentences, the pagination results are off by a character or two.

CHARACTER CUE
Here's some dialogue.  The sentences are separated by two spaces.

Can become:

CHARACTER CUE
Here's some dialogue.  T
(MORE)

-------

CHARACTER CUE (CONT'D)
he sentences are separated by two spaces.

This happens because dialogue pagination splits the string into words (and then into sentences) using space character. Resulting index for splitting the text is wrong.

lmparppei commented 2 years ago

Fixed in 1.946