def viewport_extent(self): """ Returns the width and height of the viewport, in layout coordinates """ return sublime_api.view_viewport_extents(self.view_id)