def text_to_layout(self, tp): """ Converts a text point to layout coordinates """ return sublime_api.view_text_to_layout(self.view_id, tp)