[CSharpBinding] Fixed null reference exception in unit test editor
extension.
[TextEditor] Fixed selection drawing bug.