Prevent truncating whitespace in the final line of modification.

Currently, a line like this would be wrongly truncated:

    [one tab indentation] /* some inline comment that would be removed */

    [one tab indentation]$public var

And result in

    $public var

The indentation is lost.