private boolean additionMagicLineCheck(Lexer originalLexer) {
    if (getBaseTokenStart() == 0 &&
        originalLexer.getBufferEnd() >= 2 &&
        !StringUtil.isWhiteSpace(originalLexer.getBufferSequence().charAt(1))) {
      return true;
    }
    int lastIndex = myTokenQueue.size() - 1;
    if ((getBaseTokenStart() >= 1 &&
         originalLexer.getBufferEnd() > getBaseTokenStart() + 1 &&
         originalLexer.getBufferSequence().charAt(getBaseTokenStart() - 1) == '\n' &&
         !StringUtil.isWhiteSpace(originalLexer.getBufferSequence().charAt(getBaseTokenStart() + 1))) &&
        ((lastIndex >= 0 &&
          (myTokenQueue.get(lastIndex).getType() == STATEMENT_BREAK ||
           (myTokenQueue.get(lastIndex).getType() == END_OF_LINE_COMMENT)))
         || StringUtil.isEmptyOrSpaces(originalLexer.getBufferSequence().subSequence(0, getBaseTokenStart())))) {
      return true;
    }
    return false;
  }
private boolean additionMagicLineCheck(Lexer originalLexer)