Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Id like to associate an application-defined ID to a specific text range, so I can track its location even if the users adds or removes text before the range I need to track. How do I proceed?

0
Posted

Id like to associate an application-defined ID to a specific text range, so I can track its location even if the users adds or removes text before the range I need to track. How do I proceed?

0

You can define your custom “ID” attribute using WERegisterCustomAttribute(), then apply it to the range you need to track using WESetOneAttribute(). You can later check for the presence of your ID using WEGetOneAttribute().

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123