def grabAndSendViewPosition(self):
        # calculate the center-most line in the view
        # this will match most closely with the true center of the view
        viewRegionLines = self.peer.view.split_by_newlines(self.peer.view.visible_region())
        lineIdx = len(viewRegionLines) / 2 - 1
        if lineIdx < 0:
            lineIdx = 0
        viewCenterRegion = viewRegionLines[lineIdx]
        if not viewCenterRegion == self.lastViewCenterLine:
            self.lastViewCenterLine = viewCenterRegion
            self.peer.sendViewPositionUpdate(viewCenterRegion)
Separate function to be called from the sublime main thread...
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/sub_collab/peer/basic.py/ViewMonitorThread.grabAndSendViewPosition