Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » handleElementContentReplaced
handleElementContentReplaced [message #326170] Mon, 10 March 2008 08:33 Go to next message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

I've implemented a TextEditor and add an override to handleElementContentReplaced. I'm expecting this to pick up the resource change caused by an asynchronous IFile#setContents(...) but it doesn't seem to fire the event to invoke this method.

This does work if I have two editors open on the same file and one does a save.

What have I missed.
Re: handleElementContentReplaced [message #326196 is a reply to message #326170] Tue, 11 March 2008 07:56 Go to previous message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

I found my problem. Our team had missed returning a valid value from getPartition(int offset) in our DocumentPartitioner class.
Previous Topic:Chat within Eclipse
Next Topic:how get the object and create a folder under the object in the pacakage explorer
Goto Forum:
  


Current Time: Thu May 08 00:36:43 EDT 2025

Powered by FUDForum. Page generated in 0.05445 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top