def _setRange(self, startPoint, endPoint):
        self.m_document = startPoint and startPoint.getNode().ownerDocument
        self.m_startPoint = startPoint
        self.m_endPoint = endPoint
Internal call to set the range, which skips some checks and settings
dataset/ETHPy150Open pyjs/pyjs/pyjswidgets/pyjamas/selection/Range.py/Range._setRange