problem with MultiPassContentFormatter [message #16606] |
Thu, 25 June 2009 07:39 |
Eclipse User |
|
|
|
Hello,
I have problem with implementing of MultiPassContentFormatter. In my
formatting strategy there is called constructor, but methods are not used
for formating. I don't know why.
In method getPresentationReconciler
public IPresentationReconciler getPresentationReconciler(
ISourceViewer sourceViewer) {
PresentationReconciler reconciler = new PresentationReconciler();
reconciler.setDocumentPartitioning(getConfiguredDocumentPart itioning(sourceViewer));
DefaultDamagerRepairer dr;
dr= new DefaultDamagerRepairer(this.fCodeScanner);
reconciler.setDamager(dr, IDocument.DEFAULT_CONTENT_TYPE);
reconciler.setRepairer(dr, IDocument.DEFAULT_CONTENT_TYPE);
|
|
|
Powered by
FUDForum. Page generated in 0.05258 seconds