@Override
  public boolean isOpeningQuote(HighlighterIterator iterator, int offset) {
    final IElementType tokenType = iterator.getTokenType();

    if (tokenType == GroovyTokenTypes.mGSTRING_BEGIN || tokenType == GroovyTokenTypes.mREGEX_BEGIN) return true;
    if (GroovyTokenSets.STRING_LITERALS.contains(tokenType)) {
      int start = iterator.getStart();
      return offset == start;
    }
    return false;
  }
@Override
  public boolean isOpeningQuote(HighlighterIterator iterator, int offset)