Skip to main content

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

Hi,

I’m afraid no. PHP Editor one leg keep in SSE, second in DLTK.  SSE part is mix of SSE html highlighter and dark magic ;)

Ideally if we could (in future) migrate to generic editor only and keep basic highlighters as .mate bundles.

-- 
Dawid Pakuła

From: Michal Niewrzal <michal.niewrzal@xxxxxxxxxxxxx>
Reply: PDT Developers <pdt-dev@xxxxxxxxxxx>
Date: 23 April 2017 at 14:59:26
To: PDT Developers <pdt-dev@xxxxxxxxxxx>
Subject:  [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


Regards,

Michał Niewrzał | ZEND STUDIO

Rogue Wave Software, Inc.

Accelerating Great Code

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

_______________________________________________
pdt-dev mailing list
pdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/pdt-dev

Back to the top