Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-text-dev] Reconciler problem


Jml,
You are right about the initialProcess method. Please file a PR against Platform Text. We will fix it.
On our component page you can find an Eclipsecon presentation about text editors.
Thanks, Kai




"jml" <jml@xxxxxxxx>
Sent by: platform-text-dev-admin@xxxxxxxxxxx

03/26/2004 03:27 AM

Please respond to
platform-text-dev@xxxxxxxxxxx

To
<platform-text-dev@xxxxxxxxxxx>
cc
Subject
[platform-text-dev] Reconciler problem





Hi,

I was reading the jface text code in the past days. I wonder if there is
any documents describing the architecture of it? Such as some UML graph
or design documents that can help me understand things faster.

I also have another question, in Reconciler.java,

/*
* @see AbstractReconciler#initialProcess()
* @since 2.0
*/
protected void initialProcess() {
                ITypedRegion[] regions= computePartitioning(0,
getDocument().getLength());
                for (int i= 0; i < regions.length; i++) {
                                 ITypedRegion r= regions[i];
                                 IReconcilingStrategy s=
getReconcilingStrategy(r.getType());
                                 if (s instanceof IReconcilingStrategyExtension) {
                                                  IReconcilingStrategyExtension e=
(IReconcilingStrategyExtension) s;
                                                  e.initialReconcile();
                                 }
                }
}

If there are multiple partition regions of same type, then the
"initialReconcile" method will be called multiple times on a single
"IReconcilingStrategyExtension", which conflict with the javadoc spec of
the "initialReconcile" method. Am I missing anything?

Thanks.

jml

_______________________________________________
platform-text-dev mailing list
platform-text-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-text-dev


Back to the top