[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pdt-dev] Syntax highlighting without IStructuredDocument

Hi Team,

I was trying to fix bug 509785 [1].  After my previous changes in compare viewers code, there are cases when saving isn't working (especially with svn clients). In general, problem is related to the fact that I'm trying to inject IStructuredDocument to compare viewer API to have syntax highlighting but in some cases new IDocument is created and this doc is monitored for changes instead of IStructuredDocument. The Easiest (and the cleanest) solution would be to create presentation reconciler what will be able to work on pure IDocument. Do you think it's even possible to create such presentation reconciler with a current state of code? 

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=509785


Michał Niewrzał | ZEND STUDIO

Rogue Wave Software, Inc.

Accelerating Great Code

www.roguewave.com / michal.niewrzal@roguewave.com