code: private int getQuoteToken( String content, int startOffset, int endOffset )
    {
      String quoteDelimiter = content.substring( startOffset, startOffset + 1 );
      int index;
      int endOfQuote = startOffset;
      int endOfToken = startOffset + 1;
      while( endOfToken <= endOffset )
      {
        if( isDelimiter( content.substring( endOfToken, endOfToken + 1 ) ) )
        {
          break;
        }
        endOfToken++;
      }
      index = content.indexOf( quoteDelimiter, endOfQuote + 1 );
      if( (index < 0) || (index > endOffset) )
      {
        endOfQuote = endOffset;
      }
      else
      {
        endOfQuote = index;
      }
  
      if( isError( startOffset, endOfQuote - startOffset + 1 ) )
      {
        setCharacterAttributes( startOffset, endOfQuote - startOffset + 1, _error, true );
        return endOfQuote + 1;
      }
      if( isWarning( startOffset, endOfQuote - startOffset + 1 ) )
      {
        setCharacterAttributes( startOffset, endOfQuote - startOffset + 1, _warning, true );
        return endOfQuote + 1;
      }
  
      setCharacterAttributes( startOffset, endOfQuote - startOffset + 1, _stringLiteral, false );
      return endOfQuote + 1;
    }
docs: /*
  Parse the line to get the quotes and highlight it