file modified check enhancements

when a file is reverted due to it being modified outside the editor, the caret is
now placed at the same line that the caret was before the revert ocurred.  That
way, the user does not lose their place.