equal
deleted
inserted
replaced
146 |
146 |
147 def findNearestUsersOffset(width, id=None, link_name=None): |
147 def findNearestUsersOffset(width, id=None, link_name=None): |
148 """Finds offset of beginning of a range of Users around the nearest User. |
148 """Finds offset of beginning of a range of Users around the nearest User. |
149 |
149 |
150 Args: |
150 Args: |
151 limit: the width of the "found" window around the nearest User found |
151 width: the width of the "found" window around the nearest User found |
152 id: a Google Account (users.User) object, or None |
152 id: a Google Account (users.User) object, or None |
153 link_name: link name input in the Lookup form or None if not supplied. |
153 link_name: link name input in the Lookup form or None if not supplied. |
154 |
154 |
155 Returns: |
155 Returns: |
156 an offset into the list of Users that is width/2 less than the |
156 an offset into the list of Users that is width/2 less than the |