coffeycathal_cp
52ecd5f349
Rewrote the core behind (Insert and Remove)Text() functions. Most if not all issues with XElement splitting have been fixed by this changeset.
Major new functions are listed below.
Paragraph
-----------
GetFirstRunEffectedByInsert()
GetFirstRunEffectedByInsertRecursive()
Run
----
GetFirstTextEffectedByInsert()
GetFirstTextEffectedByInsertRecursive()
HelperFunctions
-----------------
GetText
GetTextRecursive
GetSize(XElement Xml)
This new recursive search method does not return the same Paragraph multiple times thus the problem with Textbox's has also been fixed.