[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[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