Mac OS word delimiter character settings
I seem to remember seeing a tip once where there was a setting in System Preferences where you can define "programming" as a language or something so that double-clicking on a hyphenated word selects the entire word, hyphen and all.
I did this on my older MBP and now can't remember how to do it for my new one (10.9.1)
Solution 1:
There's a setting that might be what you're referring to:
OS X Preferences > Language & Region > Region > Americas > United States (Computer)