DocX icon indicating copy to clipboard operation
DocX copied to clipboard

Ignore Fallback and drawing in GetFirstRunEffectedByEditRecursive (fixes #414)

Open janbernloehr opened this issue 3 years ago • 1 comments

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.

janbernloehr avatar Dec 28 '21 00:12 janbernloehr

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

XceedBoucherS avatar Jan 04 '22 14:01 XceedBoucherS