file revert enhancements

when a file is reverted, the caret is placed at the same line
that the caret was before the revert ocurred.  That way, the
user does not lose their place.