I'm getting some inconsistent/unexpected values when calling GetWordTextRange.
Type "<tab><tab><enter><tab><tab>" in the editor, resulting in "\t\r\n\t\t"
- GetWordTextRange() with offset 0, 1, 2 returns "\t\t"
- GetWordTextRange() with offset 3, 4, 5 returns "\t\r\n\t\t"
1. Why doesGetWordTextRange() for offset 3, 4, 5 include the text in the first line, whereas GetWordTextRange() for offset 0, 1, 2 does not include the text in the second line? This is inconsistent.
2. What's considered a word? Is a tab a word? Shouldn't each of the calls for GetWordTextRange() for offsets 0, 1, 2, 3, 4, 5 each return me just one "\t" or "\r\n"?