Treat the '-' char as a word char, but split the word anyway and do the autocompletion on all tokens

Based on TortoiseSVN revision 24790

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>