code: @Override
      public StringWriter append(char c) {
  		if (c == '\n') {
  			if (!ignoreNewLine) {
  				++line;
  				column = 0;
  			}
  			ignoreNewLine = false;
  		} else if (c == '\r'){
  			// \r\n sequence should be treated as a single line feed so set a flag
  			// to indicate that if the next character is a /n then we should ignore it
  			ignoreNewLine = true;
  			++line;
  			column = 0;
  		} else {
  			ignoreNewLine = false;
  			++column;
  		}
          super.write(c);
          return this;
      }
docs: /* (non-Javadoc)
  @see java.io.StringWriter#append(char)