IDE: code hints: fixed showing ancestor docs in same units

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@41814 4005530d-fff6-0310-9dd1-cebe43e6787f
SynEdit IFDEF: fix crash when inserting new ifdef

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