mirror of
https://github.com/python/cpython.git
synced 2025-08-16 23:01:34 +00:00
bpo-17535: IDLE editor line numbers (GH-14030)
(cherry picked from commit 7123ea009b
)
Co-authored-by: Tal Einat <taleinat@gmail.com>
This commit is contained in:
parent
bf8e82f976
commit
1da6a313dd
18 changed files with 891 additions and 80 deletions
|
@ -74,13 +74,11 @@ class OutputWindow(EditorWindow):
|
|||
("Go to file/line", "<<goto-file-line>>", None),
|
||||
]
|
||||
|
||||
allow_codecontext = False
|
||||
allow_code_context = False
|
||||
|
||||
def __init__(self, *args):
|
||||
EditorWindow.__init__(self, *args)
|
||||
self.text.bind("<<goto-file-line>>", self.goto_file_line)
|
||||
self.text.unbind("<<toggle-code-context>>")
|
||||
self.update_menu_state('options', '*Code Context', 'disabled')
|
||||
|
||||
# Customize EditorWindow
|
||||
def ispythonsource(self, filename):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue