What’s a bug is that the word is NOT added when you paste and then hit return.
When you type anything into the editor it should be added to the autocomplete list – that way your variables get added and you can autocomplete them later in the code.
It watches and when you type something that should end a word, like ( . [ or space it grabs the word and looks to see if it’s already in the list. If not, it adds it (anything over 2 characters is considered a word).
It’s supposed to recognize that Return ends a word, too, but that part is broken.
And that’s why CPM can’t autoload the autocomplete list – you’d overwrite the things you put in there (by typing).
What I may be able to do is split the list up – “official” autocomplete words and user-added autocomplete words. That way I could notify people if the official list changed.
Or, it could work differently – I’m open to suggestions. V3 is going to have some major changes anyway, so one more is fine.
Jay
[import]uid: 9440 topic_id: 7025 reply_id: 43290[/import]