uid / collabode

collab + code = collabode
http://groups.csail.mit.edu/uid/collabode/
Other
28 stars 8 forks source link

Code complete: handle inserting proposal when file was edited #38

Closed maxg closed 12 years ago

maxg commented 12 years ago

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)

maxg commented 12 years ago

Resolved by computing the cursor position just before doing the replacement. (phy on 2010-08-26)