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

Ignore Fallback and drawing in GetFirstRunEffectedByEditRecursive (fixes #414) #423

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

janbernloehr
Copy link
Contributor

HelperFunctions.GetTextRecursive ignores Fallback and drawing elements when determining the text value of a run. However, GetFirstRunEffectedByEditRecursive did not ignore these elements, resulting in incompatible text indices in presence of such elements (e.g. when text fields are used - as shown in #414).

This PR fixes this issue by ignoring Fallback and drawing elements also in GetFirstRunEffectedByEditRecursive.

…be symmetric with HelperFunctions.GetTextRecursive - fixes xceedsoftware#414
@XceedBoucherS
Copy link
Collaborator

Hi,
This is already fixed. The fix will be part of v2.1.
Thank you for looking into this.

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.

None yet

2 participants