#NEWLINE# def moveToBoundary( self , topMostNode , type ) : #NEWLINE# #INDENT# '\n        TODO NOT IMPLEMENTED YET\n        Move the end points to encompass a boundary type, such as a word.\n\n        @param topMostNode a Node not to traverse above, or None\n        @param type unit to move boundary by, such as RangeEndPoint.MOVE_WORD\n        ' #NEWLINE# self . ensureEndPoints ( ) #NEWLINE# self . m_startPoint . move ( False , type , None , type , 1 ) #NEWLINE# self . m_endPoint . move ( True , topMostNode , None , type , 1 )