Renamed GetCurrentSelection to GetCurrentText.