def get_first_selected_text(view):
    """Gets a copy of the given view's first buffer selection"""
    first_selected_region = view.sel()[0]
    buffer_text = view.substr(first_selected_region)
    return buffer_text, first_selected_region