Search in sources :

Example 1 with LinkReplacementToken

use of org.eclipse.mylyn.wikitext.creole.internal.token.LinkReplacementToken in project mylyn.docs by eclipse.

the class CreoleLanguage method addStandardTokens.

@Override
protected void addStandardTokens(PatternBasedSyntax tokenSyntax) {
    // IMPORTANT NOTE: Most items below have order dependencies.  DO NOT REORDER ITEMS BELOW!!
    // line break //$NON-NLS-1$
    tokenSyntax.add(new PatternLineBreakReplacementToken("(\\\\\\\\)"));
    tokenSyntax.add(new LinkReplacementToken());
    tokenSyntax.add(new ImpliedHyperlinkReplacementToken());
}
Also used : PatternLineBreakReplacementToken(org.eclipse.mylyn.wikitext.parser.markup.token.PatternLineBreakReplacementToken) LinkReplacementToken(org.eclipse.mylyn.wikitext.creole.internal.token.LinkReplacementToken) ImpliedHyperlinkReplacementToken(org.eclipse.mylyn.wikitext.parser.markup.token.ImpliedHyperlinkReplacementToken)

Aggregations

LinkReplacementToken (org.eclipse.mylyn.wikitext.creole.internal.token.LinkReplacementToken)1 ImpliedHyperlinkReplacementToken (org.eclipse.mylyn.wikitext.parser.markup.token.ImpliedHyperlinkReplacementToken)1 PatternLineBreakReplacementToken (org.eclipse.mylyn.wikitext.parser.markup.token.PatternLineBreakReplacementToken)1