private void processText(@NotNull CharSequence chars) {
      int lineStart = 0;
      for (int currPos = 0; currPos < chars.length(); currPos ++) {
        char c = chars.charAt(currPos);
        if (c == '\n') {
          FormatterTag formatterTag = extractFormatterTag(chars, lineStart, currPos);
          //noinspection EnumSwitchStatementWhichMissesCases
          switch (formatterTag) {
            case OFF -> myTagInfoList.add(
              new FormatterTagInfo(lineStart, FormatterTag.OFF));
            case ON -> myTagInfoList.add(
              new FormatterTagInfo(lineStart, FormatterTag.ON));
          }
          lineStart = currPos + 1;
        }
      }
    }
private void processText(@NotNull CharSequence chars)