AuthorListener.contentDeleted(DocumentContentChangedEvent)

Oxygen general issues.
dylan
Posts: 15
Joined: Thu Feb 26, 2009 12:12 am

AuthorListener.contentDeleted(DocumentContentChangedEvent)

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: AuthorListener.contentDeleted(DocumentContentChangedEvent)

Post 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
dylan
Posts: 15
Joined: Thu Feb 26, 2009 12:12 am

Re: AuthorListener.contentDeleted(DocumentContentChangedEvent)

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: AuthorListener.contentDeleted(DocumentContentChangedEvent)

Post 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
dylan
Posts: 15
Joined: Thu Feb 26, 2009 12:12 am

Re: AuthorListener.contentDeleted(DocumentContentChangedEvent)

Post by dylan »

Much appreciated!
Post Reply