Home | History | Annotate | Download | only in idlelib

Lines Matching full:line

17         self.text.bind("<<goto-file-line>>", self.goto_file_line)
51 for line in lines:
52 self.write(line)
64 ("Go to file/line", "<<goto-file-line>>", None),
69 r'file "([^"]*)", line (\d+)',
86 line = self.text.get("insert linestart", "insert lineend")
87 result = self._file_line_helper(line)
89 # Try the previous line. This is handy e.g. in tracebacks,
90 # where you tend to right-click on the displayed source line
91 line = self.text.get("insert -1line linestart",
92 "insert -1line lineend")
93 result = self._file_line_helper(line)
96 "No special line",
97 "The line you point at doesn't look like "
98 "a valid file name followed by a line number.",
105 def _file_line_helper(self, line):
107 match = prog.search(line)