TODO: cursor should be in the center of the control git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3528 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61