handlebars/src/main/java/com/github/jknack/handlebars/internal/HbsErrorReporter.java
private void underline(final StringBuilder message, final String[] lines, final int line,
      final int charPositionInLine) {
    String errorLine = lines[Math.min(line - 1, lines.length - 1)];
    message.append(errorLine).append("\n");
    for (int i = 0; i < charPositionInLine; i++) {
      message.append(" ");
    }
    message.append("^");
  }
/**
   * Build an underline mark and make the error message pretty.
   *
   * @param message The message.
   * @param lines The source lines.
   * @param line The offending's line.
   * @param charPositionInLine The offenfing's column.
   */
Build an underline mark and make the error message pretty.
@param message The message.
@param lines The source lines.
@param line The offending's line.
@param charPositionInLine The offenfing's column.
Build an underline mark and make the error message pretty . @param message The message . @param lines The source lines . @param line The offending ' s line . @param charPositionInLine The offenfing ' s column .
private void underline(final StringBuilder message, final String[] lines, final int line,
      final int charPositionInLine) {
    String errorLine = lines[Math.min(line - 1, lines.length - 1)];
    message.append(errorLine).append("\n");
    for (int i = 0; i < charPositionInLine; i++) {
      message.append(" ");
    }
    message.append("^");
  }
private void underline ( final StringBuilder message , final String [ ] lines , final int line , final int charPositionInLine ) { String errorLine = lines [ Math . min ( line - 1 , lines . length - 1 ) ] ; message . append ( errorLine ) . append ( "\n" ) ; for ( int i = 0 ; i < charPositionInLine ; i ++ ) { message . append ( " " ) ; } message . append ( "^" ) ; }
Build an underline mark and make the error message pretty.
Build an underline mark and make the error message pretty .