parameters: (view)
return_statement: return get_location_from_region(view, region)
docstring: Returns a Location representing the beginning of the first selected region in the view
docstring_summary: Returns a Location representing the beginning of the first selected region in the view
docstring_tokens: Returns a Location representing the beginning of the first selected region in the view
function: def get_location_from_view(view):
      """Returns a Location representing the beginning of the first selected region in the view"""
      region = view.sel()[0]
      return get_location_from_region(view, region)
function_tokens: def get_location_from_view ( view ) : region = view . sel ( ) [ 0 ] return get_location_from_region ( view , region )