 - Fix position of the autocomplete popup when the popup is just before a linebreak  - Tweak autocomplete poup to show the text positioned underneath the target word  - Consolidate code
 - Fix position of the autocomplete popup when the popup is just before a linebreak
 - Tweak autocomplete poup to show the text positioned underneath the target word
 - Consolidate code


git-svn-id: 6eeea455dc0e2ce42bed66071b2ee3651efe9ff5@3783 eefc5464-0a4a-0410-82e6-d75a05d1654a

svn2github/Sequel-Pro,svn2github/Sequel-Pro,svn2github/Sequel-Pro,svn2github/Sequel-Pro