<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def go_to_line(self, line=None):

 """Open 'go to line' dialog"""

        editorstack = self.get_current_editorstack()
        if editorstack is not None:
            editorstack.go_to_line(line)