use of org.eclipse.mylyn.wikitext.twiki.internal.token.LinkReplacementToken in project mylyn.docs by eclipse.
the class TWikiLanguage method addStandardTokens.
@Override
protected void addStandardTokens(PatternBasedSyntax tokenSyntax) {
// IMPORTANT NOTE: Most items below have order dependencies. DO NOT REORDER ITEMS BELOW!!
// $NON-NLS-1$ //$NON-NLS-2$
tokenSyntax.add(new EntityReferenceReplacementToken("(tm)", "#8482"));
// $NON-NLS-1$ //$NON-NLS-2$
tokenSyntax.add(new EntityReferenceReplacementToken("(TM)", "#8482"));
// $NON-NLS-1$ //$NON-NLS-2$
tokenSyntax.add(new EntityReferenceReplacementToken("(c)", "#169"));
// $NON-NLS-1$ //$NON-NLS-2$
tokenSyntax.add(new EntityReferenceReplacementToken("(C)", "#169"));
// $NON-NLS-1$ //$NON-NLS-2$
tokenSyntax.add(new EntityReferenceReplacementToken("(r)", "#174"));
// $NON-NLS-1$ //$NON-NLS-2$
tokenSyntax.add(new EntityReferenceReplacementToken("(R)", "#174"));
tokenSyntax.add(new LinkReplacementToken());
tokenSyntax.add(new ImpliedHyperlinkReplacementToken());
tokenSyntax.add(new ImpliedEmailLinkReplacementToken());
tokenSyntax.add(new WikiWordReplacementToken());
tokenSyntax.add(new IconReplacementToken());
literalTokenSyntax.add(new ImpliedHyperlinkReplacementToken());
}
Aggregations