Every line of 'python jump to line' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
59 def _jump(self, item: int) -> None: 60 """Jump to a line in the view buffer 61 """ 62 63 if item == -1: 64 return 65 66 lineno = int(self.options[item][1].split(':')[1].strip()) 67 pt = self.window.active_view().text_point(lineno, 0) 68 self.window.active_view().sel().clear() 69 self.window.active_view().sel().add(sublime.Region(pt)) 70 71 self.window.active_view().show(pt)
23 def goToLine(self, line): 24 self.view.run_command("goto_line", {"line": line})
156 def OnSelectLine(self, n): 157 idx = n[0] # due to CH_MULTI 158 idc.Jump(get_name_ea_simple(self.items[idx][2]))