protected boolean isNonClosedLiteral(HighlighterIterator iterator, CharSequence chars) {
    if (iterator.getStart() >= iterator.getEnd() - 1 ||
        chars.charAt(iterator.getEnd() - 1) != '\"' && chars.charAt(iterator.getEnd() - 1) != '\'') {
      return true;
    }
    return false;
  }
protected boolean isNonClosedLiteral(HighlighterIterator iterator, CharSequence chars)