Hi
Im having some troubles converting my "protected text" functionality to WPTools5. Please take a look at the following code. This should simplify my problem. The code inserts a bookmark and write som text inside the bookmark. Everything include the bookmark markers are inserted as protected Text. This worked back in v4.x but in 5.x this will result in text added before or after the bookmark (protected) will also be protected:(
FYI, my ProtectedProp := [ppProtected,ppIsBookmark,ppAllowEditAtTextEnd,ppProtectSelectedTextToo]
If I swap the lines marked with // 1 and // 2 everything works fine but that is regarding to the new ppIsBookmark protected. All my old documents made with v. 4.x all have the bookmark inserted as protected text, so I need to handle this to.
Any Ideas of what I can do? Is it a bug that v. 5.x cant handle it?