[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