src/eric7/Cooperation/SharedEditorController.py

branch
eric7
changeset 11269
ce3bcd9df3b3
parent 11260
67773a953b64
equal deleted inserted replaced
11268:3dba24293ccc 11269:ce3bcd9df3b3
86 @type str 86 @type str
87 """ 87 """
88 project = ericApp().getObject("Project") 88 project = ericApp().getObject("Project")
89 if projectHash == project.getHash(): 89 if projectHash == project.getHash():
90 fn = project.getAbsoluteUniversalPath(fileName) 90 fn = project.getAbsoluteUniversalPath(fileName)
91 # TODO: change this to use local method
92 editor = ericApp().getObject("ViewManager").getOpenEditor(fn) 91 editor = ericApp().getObject("ViewManager").getOpenEditor(fn)
93 if editor: 92 if editor:
94 status = self.__getSharedEditStatus(editor) 93 status = self.__getSharedEditStatus(editor)
95 if status.isShared: 94 if status.isShared:
96 if status.isSyncing and not command.startswith( 95 if status.isSyncing and not command.startswith(

eric ide

mercurial