IDE: fixed ignoring empty lines at end of conditionals, no modified if project icon was not touched

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

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