<commit_before>package jetbrains.jetpad.values;

public class FontFamily {
  public static final FontFamily MONOSPACED = new MonospacedFontFamily();

  public static FontFamily forName(String name) {
    return new NamedFontFamily(name);
  }

  private FontFamily() {
  }

  static class NamedFontFamily extends FontFamily {
    private String myName;

    NamedFontFamily(String name) {
      myName = name;
    }
  }

  private static class MonospacedFontFamily extends FontFamily {
    @Override
    public String toString() {
      return "Monospaced";
    }
  }
}<commit_msg>multi font support in DomTedtEditor<commit_after>package jetbrains.jetpad.values;

public class FontFamily {
  public static final FontFamily MONOSPACED = new MonospacedFontFamily();

  public static FontFamily forName(String name) {
    return new NamedFontFamily(name);
  }

  private FontFamily() {
  }

  static class NamedFontFamily extends FontFamily {
    private String myName;

    NamedFontFamily(String name) {
      myName = name;
    }

    @Override
    public String toString() {
      return myName;
    }
  }

  private static class MonospacedFontFamily extends FontFamily {
    @Override
    public String toString() {
      return "Monospaced";
    }
  }
}
{'fraction_non_alphanumeric': 0.07171314741035857, 'fraction_numerical': 0.0, 'mean_word_length': 3.3916083916083917, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4230154', 'n_tokens_mistral': 372, 'n_tokens_neox': 358, 'n_words': 102}