@Deprecated(forRemoval = true)
  public synchronized void fillFromPList(@NotNull CharSequence scopeName, @NotNull Plist plist) {
    final Set<TextMateBracePair> highlightingPairs = PreferencesReadUtil.readPairs(plist.getPlistValue(Constants.HIGHLIGHTING_PAIRS_KEY));
    Set<TextMateBracePair> rawSmartTypingPairs = PreferencesReadUtil.readPairs(plist.getPlistValue(Constants.SMART_TYPING_PAIRS_KEY));
    final Set<TextMateAutoClosingPair> smartTypingPairs = rawSmartTypingPairs != null ? rawSmartTypingPairs.stream().map(p -> {
      return new TextMateAutoClosingPair(p.getLeft(), p.getRight(), null);
    }).collect(Collectors.toSet()) : null;
    final IndentationRules indentationRules = PreferencesReadUtil.loadIndentationRules(plist);
    final Set<OnEnterRule> onEnterRules = Collections.emptySet(); // seems fine, since fillFromPList is deprecated anyway
    fillHighlightingBraces(highlightingPairs);
    fillSmartTypingBraces(smartTypingPairs);
    if (highlightingPairs != null || smartTypingPairs != null || !indentationRules.isEmpty()) {
      myPreferences.add(new Preferences(scopeName, highlightingPairs, smartTypingPairs, Collections.emptySet(), null, indentationRules, onEnterRules));
    }
  }
@Deprecated(forRemoval = true)
  public synchronized void fillFromPList(@NotNull CharSequence scopeName, @NotNull Plist plist)