Page 1 of 1
AuthorListener.contentDeleted(DocumentContentChangedEvent)
Posted: Tue Mar 03, 2009 12:48 am
by dylan
When overriding contentDeleted(DocumentContentChangedEvent arg0) in a custom implementation of the AuthorListener class, how is it possible to determine exactly what content was deleted?
It appears that this event fires after the content is deleted without giving the developer a chance to determine what is now missing from the document!
Any suggestions?
Thanks,
Dylan
Re: AuthorListener.contentDeleted(DocumentContentChangedEvent)
Posted: Tue Mar 03, 2009 12:16 pm
by sorin_ristache
Hello,
The event DocumentContentChangedEvent includes only the start offset and the length of the deleted text. We will include also the deleted content in the event in the next Author version.
Regards,
Sorin
Re: AuthorListener.contentDeleted(DocumentContentChangedEvent)
Posted: Tue Mar 03, 2009 8:36 pm
by dylan
Hi Sorin,
Would it be possible for me to get the next version of the Author class *before* your next release (beta or otherwise). We are working towards a deadline coming the end of March and one of our high priority features will rely heavily on this functionality.
Also, I wanted to thank you all for such timely replies - your help is greatly appreciated!
Dylan
Re: AuthorListener.contentDeleted(DocumentContentChangedEvent)
Posted: Wed Mar 04, 2009 11:46 am
by sorin_ristache
Hello,
We will try to implement and make available for you a new version of the DocumentContentChangedEvent before the next release.
Regards,
Sorin
Re: AuthorListener.contentDeleted(DocumentContentChangedEvent)
Posted: Wed Mar 04, 2009 10:13 pm
by dylan
Much appreciated!