Is there a reason that the Corona Editor plugin doesn’t differentiate words that are camelCased or separated by a “.”
We treat periods specially so we can complete things like display.newText properly (it only affects buffers editing files with .lua extensions). You can turn off this behavior by setting the user preference
corona\_sdk\_complete\_periods
to false (you’ll need to close and reopen any open files due to Sublime Text’s tenacious hold on certain preferences).
For eksample,
Holding shift and ctrl to mark the text:
camelCase.index
I would want to only mark “camel”, then “Case” on the next arrow key press and “.index” on the third one.
I believe “vanilla” Sublime Text 2 and Lua Glider does this.
We haven’t changed the behavior of camel case in the Corona Editor plugin. I have to hold down both Ctrl and Alt with the arrow keys to move along the camel cased words but it works the same in .lua files and other files (this is on a Mac).
This StackOverflow post has a lot of info on how to change the default keys used by camel case navigation and is probably worth looking at.