Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » handleElementContentReplaced
handleElementContentReplaced [message #326170] Mon, 10 March 2008 12: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 11: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: Tue Jul 23 08:54:38 GMT 2024

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

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

Back to the top