@Override
      public int getOffsetInHost(int offsetInDecoded, @NotNull TextRange rangeInsideHost) {
        if (offsetInDecoded >= myOffsets.length) {
          return -1;
        }
        return myOffsets[offsetInDecoded];
      }
@Override
      public int getOffsetInHost(int offsetInDecoded, @NotNull TextRange rangeInsideHost)