Skip to content
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

delete stylemap before wrapping text #3546

Merged
merged 1 commit into from
Dec 17, 2016
Merged

delete stylemap before wrapping text #3546

merged 1 commit into from
Dec 17, 2016

Conversation

asturur
Copy link
Member

@asturur asturur commented Dec 17, 2016

Delete style map from textbox before wrapping lines.
The function getStyleDeclaration use styleMap if available.
But in that moment we refer to text using its real index for line and char.

close #3496

@asturur asturur merged commit 5ab46d6 into master Dec 17, 2016
@asturur asturur deleted the textboxmap branch December 26, 2016 19:07
asturur added a commit that referenced this pull request Dec 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Textbox: word widths not calculated using correct styles after line wrapping
1 participant