Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Inconsistent behaviour in TextEditor
Inconsistent behaviour in TextEditor [message #333624] Thu, 18 December 2008 15:44
Damian Philipp is currently offline Damian PhilippFriend
Messages: 30
Registered: July 2009
Member
Hello,

I built a MultiPageEditor[Part] consisting of a TextEditor showing the
source (an XML-File) and a second page with a TreeViewer showing the
structure of that file.

I'm currently looking into updating the file when the underlying
resource changes and applying marker resolutions in the editor.

While comparing the behaviour of my editor to a non-multipage
TextEditor, I noticed a strange difference:

When the Source in the TextEditor has changed, i.e. the Editor is dirty,
the plain TextEditor offers to reload the file upon discovering that the
contents of the file on disk have changed. The TextEditor embedded in my
MultiPageEditor does no such thing. When there are no changes (editor
not dirty), both variants automatically update the displayed file content.

Where does this discrepancy come from and how can I get the embedded
TextEditor to behave the same as the plain TextEditor?

Regards
Damian Philipp
Previous Topic:Enablement of contributed actions
Next Topic:Mixing Platform Command and Action Set frameworks
Goto Forum:
  


Current Time: Fri Dec 27 03:30:59 GMT 2024

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

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

Back to the top