IDE: rename private method in TFileOpenClose: PrepareRevert -> CheckRevert.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45682 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: refactor PrepareRevert out of OpenEditorFile.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45683 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: rename private method in TFileOpenClose: PrepareInternalFile -> CheckInternalFile.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45684 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: refactor methods PrepareFile and ChangeEditorPage out of OpenEditorFile.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45685 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: refactor methods OpenKnownFile and OpenUnknownFile out of OpenEditorFile.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45686 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: tweak and remove some variables in OpenEditorFile. Remove useless return value.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45687 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: move a piece of common code to TSourceEditorManager.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45688 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: Move OpenNotExistingFile to new TFileOpenClose class.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45689 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: move method OpenUnknownFile to class TFileOpenClose.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45690 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: get rid of Handled param in OpenUnknownFile.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45691 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: get rid of rest of the parameters in OpenUnknownFile.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45692 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: get rid of parameters in OpenNotExistingFile.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45693 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: get rid of parameters in TFileOpenClose.OpenFileAtCursor.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45694 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: get rid of IsIncludeDirective param in GetFilenameAtRowCol.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45695 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: remove CurFileName param in TFileOpenClose.FindFile, use FFileName directly.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45696 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: remove AFileName param from TFileOpenClose.OpenEditorFile, use FFileName directly.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45697 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: move common code to a local function in TFileOpenClose.FindFile.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45698 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: move OpenMainUnit and RevertMainUnit to class TFileOpenClose.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45699 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: move method GetAvailableUnitEditorInfo to class TFileOpenClose.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45700 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: move method OpenFileInSourceEditor to class TFileOpenClose.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45701 4005530d-fff6-0310-9dd1-cebe43e6787f