*/
PresentationReconciler reconciler = new ATGPresentationReconciler();
// Coco code
DefaultDamagerRepairer dr = new DefaultDamagerRepairer(getATGScanner());
reconciler.setDamager(dr, ATGPartitions.DEFAULT);
reconciler.setRepairer(dr, ATGPartitions.DEFAULT);
reconciler.setDamager(dr, ATGPartitions.IGNORECASE_SEGMENT);
reconciler.setRepairer(dr, ATGPartitions.IGNORECASE_SEGMENT);
reconciler.setDamager(dr, ATGPartitions.CHARACTERS_SEGMENT);
reconciler.setRepairer(dr, ATGPartitions.CHARACTERS_SEGMENT);
reconciler.setDamager(dr, ATGPartitions.TOKENS_SEGMENT);
reconciler.setRepairer(dr, ATGPartitions.TOKENS_SEGMENT);
reconciler.setDamager(dr, ATGPartitions.PRAGMAS_SEGMENT);
reconciler.setRepairer(dr, ATGPartitions.PRAGMAS_SEGMENT);
reconciler.setDamager(dr, ATGPartitions.COMMENTS_SEGMENT);
reconciler.setRepairer(dr, ATGPartitions.COMMENTS_SEGMENT);
reconciler.setDamager(dr, ATGPartitions.IGNORE_SEGMENT);
reconciler.setRepairer(dr, ATGPartitions.IGNORE_SEGMENT);
reconciler.setDamager(dr, ATGPartitions.PRODUCTIONS_SEGMENT);
reconciler.setRepairer(dr, ATGPartitions.PRODUCTIONS_SEGMENT);
// COMPILER statement
reconciler.setDamager(dr, ATGPartitions.COMPILER_KEYWORD);
reconciler.setRepairer(dr, ATGPartitions.COMPILER_KEYWORD);
reconciler.setDamager(dr, ATGPartitions.COMPILER_IDENT);
reconciler.setRepairer(dr, ATGPartitions.COMPILER_IDENT);
// inline code delimiting tags
NonRuleBasedDamagerRepairer tagDR = new NonRuleBasedDamagerRepairer(
fSyntaxManager.getTextAttribute(SyntaxManager.ATG.INLINE_CODE_TAG));
reconciler.setDamager(tagDR, ATGPartitions.INLINE_CODE_START);
reconciler.setRepairer(tagDR, ATGPartitions.INLINE_CODE_START);
reconciler.setDamager(tagDR, ATGPartitions.INLINE_CODE_END);
reconciler.setRepairer(tagDR, ATGPartitions.INLINE_CODE_END);
// inline code
ITokenScanner javaCodeScanner = getJavaCodeScanner();
fEditor.fJavaCodeScanner = (JavaCodeScanner)javaCodeScanner;
dr = new DefaultDamagerRepairer(javaCodeScanner);
reconciler.setDamager(dr, ATGPartitions.IMPORTS);
reconciler.setRepairer(dr, ATGPartitions.IMPORTS);
dr = new DefaultDamagerRepairer(javaCodeScanner);
reconciler.setDamager(dr, ATGPartitions.PARSER_CODE);
reconciler.setRepairer(dr, ATGPartitions.PARSER_CODE);
dr = new DefaultDamagerRepairer(javaCodeScanner);
reconciler.setDamager(dr, ATGPartitions.INLINE_CODE);
reconciler.setRepairer(dr, ATGPartitions.INLINE_CODE);
reconciler.setDamager(dr, ATGPartitions.PRAGMAS_INLINE_CODE);
reconciler.setRepairer(dr, ATGPartitions.PRAGMAS_INLINE_CODE);
reconciler.setDamager(dr, ATGPartitions.PRODUCTIONS_INLINE_CODE);