def getDocBlockRegion(view, point):
 start = end = point
 while ((start > 0) and (view.scope_name((start - 1)).find('comment.block') > (-1))):
  start = (start - 1)
 while ((end < view.size()) and (view.scope_name(end).find('comment.block') > (-1))):
  end = (end + 1)
 return sublime.Region(start, end)

def getDocBlockRegion ( view , point ) : start = end = point while ( ( start > 0 ) and ( view . scope_name ( ( start - 1 ) ) . find ( 'comment.block' ) > ( - 1 ) ) ) : start = ( start - 1 ) while ( ( end < view . size ( ) ) and ( view . scope_name ( end ) . find ( 'comment.block' ) > ( - 1 ) ) ) : end = ( end + 1 ) return sublime . Region ( start , end )
given a starting point inside a docblock .