More ChangeProvider woes
All,
I have just finished implementing ChangeProvider. FileStatuses are being shown correctly, however when a file is modified, the editor is not marked up with the changes. If I run a Diff from the Change Window, it shows up correctly.
I have attached the screenshots.
Is there something I am missing?
Thanks!
Steve
Attachment(s):
screenshot-2.JPG
screenshot-1.JPG
Please sign in to leave a comment.
I think I may have found the issue.
It appears that the default UpToDateRevisionProvider provided by AbstractVcs is causing the problem. Once I overrode the getUpToDateRevisionProvider() method and returned an instance which simply returns null for its content, the markup appeared.
I am not sure if this is a permanent solution, but it appears to work without issue.
Hello Steven,
Note that all of this is deprecated API. UpToDateRevisionProvider no longer
exists in IDEA 7.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"