mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
SF 748973 Guido van Rossum patch
New Window should save in the directory of the Editor Window from which it was selected. M EditorWindow.py M FileList.py M IOBinding.py
This commit is contained in:
parent
a1045567e0
commit
d2f4861a0b
3 changed files with 21 additions and 8 deletions
|
@ -58,8 +58,8 @@ class FileList:
|
|||
if edit is not None and lineno is not None:
|
||||
edit.gotoline(lineno)
|
||||
|
||||
def new(self):
|
||||
return self.EditorWindow(self)
|
||||
def new(self, filename=None):
|
||||
return self.EditorWindow(self, filename)
|
||||
|
||||
def new_callback(self, event):
|
||||
self.new()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue