jshint/fixmyjs — pull request #59 by azich (2012-07-25 18:00:25+00:00)
Title: Made indent function report full change, tweaked newline insertion strategy

While fixMyJS will correct `test/fixtures/broken/gh-56.js`, the reported fix is not entirely accurate.

The `fix` property for the error on the line
```
fn.apply(ctx, arguments); };
```
will be
```
fn.apply(ctx, arguments);
```
while fixMyJS has actually (effectively) replaced the line with
```
fn.apply(ctx, arguments);\n };
```

This pull makes the `fix` property contain the effective replacement and eliminates the need to manipulate `code` directly in the `indent` function.