When the file is edited (by another user) while the code completion widget is displayed (in particular, text is added or removed at an earlier point in the file), need to use the editor's updated cursor position to insert the selected proposal in the (new) correct location.
When the file is edited (by another user) while the code completion widget is displayed (in particular, text is added or removed at an earlier point in the file), need to use the editor's updated cursor position to insert the selected proposal in the (new) correct location.
(Imported from Bitbucket #38 reported by maxg on 2010-08-02)