예제 #1
0
 public static Command createLegacyEol(FontStyle style) {
   return new CommandCreoleStyle(
       "^((" + style.getActivationPattern() + ")(.+))$", style, style.canHaveExtendedColor());
 }
예제 #2
0
 private HtmlColor getExtendedColor(Matcher2 m) {
   if (tryExtendedColor) {
     return style.getExtendedColor(m.group(2));
   }
   return null;
 }
예제 #3
0
 public static CommandCreoleStyle createCreole(FontStyle style) {
   return new CommandCreoleStyle(
       "^(" + style.getCreoleSyntax() + "(.+?)" + style.getCreoleSyntax() + ")", style, false);
 }