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

I'm playing with pure text editor, tm4e and our PDT stuff. If someone wants to look I created a gerrit patch: https://git.eclipse.org/r/#/c/96534/


Michał Niewrzał | ZEND STUDIO

Rogue Wave Software, Inc.

Accelerating Great Code

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




Od: pdt-dev-bounces@xxxxxxxxxxx <pdt-dev-bounces@xxxxxxxxxxx> w imieniu użytkownika Dawid Pakuła <zulus@xxxxxxxxx>
Wysłane: 24 kwietnia 2017 16:04
Do: PDT Developers
Temat: 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