コード例 #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);
 }