This is similar to a problem that GetSelText used to have. The GetTextRange only allocates "nLast - nFirst + 1" characters, but it needs to double that because every character can take up two bytes in MBCS.
Visual Studio/Silverlight/Tooling version
What category (if any) best represents this feedback?
Steps to reproduce
Operating System Language