Skip to content

Region bug when wrapping text #483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AmoraChinchilla opened this issue Jul 17, 2023 · 1 comment
Closed

Region bug when wrapping text #483

AmoraChinchilla opened this issue Jul 17, 2023 · 1 comment
Labels
bug 😅 Juju did a bad thing
Milestone

Comments

@AmoraChinchilla
Copy link

I found a bug while working on my project and replicated it in the example project!
Basically, when using regions with wrapped text, if the region spans a line break then any other text on the line is also counted as being a part of that region. I've attached a gif of what I mean.
scribble bug
This is the obj_test_wrap, with the only code changed being that there are [region] tags on either side of the red text and a region detector to make it display red.

It's worth noting that this happens even when the remaining space on the line is completely blank:
scribble bug 2

But does not happen when the space is a result of manual line breaks (\n\n in this case):
scribble bug 3

@JujuAdams JujuAdams added the bug 😅 Juju did a bad thing label Jul 18, 2023
@JujuAdams
Copy link
Owner

JujuAdams commented Apr 17, 2025

Addressed in commit 34cf0e7

Fix to be released in 9.5

@JujuAdams JujuAdams added this to the 9.5 milestone Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 😅 Juju did a bad thing
Projects
None yet
Development

No branches or pull requests

2 participants