Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] IReconcilierStrategy vs IDocumentListener

The way I see it is that this reconciling (not necessarily partitioning) is if you have a sort of model (AST-like) for the language and you have to reconcile it to the text. I suppose this a very common case. The extension point being there doesn't make it mandatory, in the same way that hover is not mandatory.

Also the IRS is strictly document-based.

Sopot

----- Oorspronkelijk bericht -----
> Van: "Mickael Istria" <mistria@xxxxxxxxxx>
> Aan: platform-ui-dev@xxxxxxxxxxx
> Verzonden: Maandag 26 september 2016 11:28:56
> Onderwerp: Re: [platform-ui-dev] IReconcilierStrategy vs IDocumentListener
> 
> On 09/26/2016 11:16 AM, Daniel Megert wrote:
> 
> 
> org.eclipse.jface.text.reconciler.IReconciler explains it. Ok, thanks. So the
> main difference would be that the IReconcilierStrategy hooks
> IReconcilierStrategy onto a specific partitioning content-type.
> As one of the goals and benefits of generic editor is to make partitioning
> optional for editors, it seems to me that we should then avoid those APIs
> and remain on document-based ones (then implementors can decide or not to
> use a partitioning and get to partition level).
> --
> Mickael Istria
> Eclipse developer for Red Hat Developers
> My blog - My Tweets
> 
> _______________________________________________
> platform-ui-dev mailing list
> platform-ui-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/platform-ui-dev


Back to the top