IDE: refactor, move 2 methods from Main to SourceFileManager.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45455 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: remove unused methods from Main.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45456 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: remove deprecated method GetUnitWithPageIndex.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45457 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: remove unused method TMainIDE.DoReplaceUnitUse.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45458 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: fix DebugLn texts in SourceFileManager methods.

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

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45460 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: Hard-code '"' in some SourceFileManager resourcestrings.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45461 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: Refactor, join and reuse common code in methods CloseAll and InvertedFileClose. Also fixes a bug.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45462 4005530d-fff6-0310-9dd1-cebe43e6787f
LCL: Apply the filter in FilterEdit.ForceFilter only when data has changed.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45463 4005530d-fff6-0310-9dd1-cebe43e6787f
PackageEditor: remove an extra call to UpdatePEProperties, formatting.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45464 4005530d-fff6-0310-9dd1-cebe43e6787f
PackageEditor: Call FilterEdit.InvalidateFilter after modifying contents.

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