[R-SIG-Mac] editor autocomplete, comments, and quotes

Hans-Jörg Bibiko bibiko at eva.mpg.de
Sat Jun 25 12:09:15 CEST 2011


On 24 Jun 2011, at 03:02, Day, Roger S wrote:

> I've discovered a curiosity with autocomplete in the editor.
> If you insert a comment with an unmatched single quote, for example
> 
> 	####   I'm so happy that last line of code worked!
> 
> then autocomplete will no longer work below this comment,
> though it continues to work above it.
> 
> Confessing bad karma from using a single quote for an apostrophe...
> or perhaps using contractions is a sin...
> nevertheless this observation may be useful to other users,
> preventing the kind of wild goose chase I went on.

Hi,

thanks a lot for the report. Nice finding! I've just fixed it by ignoring all comments while retrieving suggestions for completion.

Kind regards,
--Hans


More information about the R-SIG-Mac mailing list