Possible Duplicate:
Wrapping word configuration in mac
I don't know if it's supposed to work like on Windows, but some apps like Chrome, Firefox are doing this as expected and some, like XCode or Text Edit not.
Example, double click on newRectangle word
factory.newRectangle(320, 0, 1, 480)
Chrome, Firefox: selects only newRectangle word.
XCode, TextEdit: selects all this: factory.newRectangle.
Is there a way to set that up?