Skip to main content



      Home
Home » Eclipse Projects » JFace » problem with MultiPassContentFormatter
problem with MultiPassContentFormatter [message #16606] Thu, 25 June 2009 07:39
Eclipse UserFriend
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);
Previous Topic:CellModifier in TreeViewer in Dialog class
Next Topic:problem with MultiPassContentFormatter
Goto Forum:
  


Current Time: Sun May 11 22:05:39 EDT 2025

Powered by FUDForum. Page generated in 0.05258 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top