UI/UserInterface.py

branch
6_0_x
changeset 4106
f367d432509a
parent 4022
f5f42921717e
child 4138
95a60072ba45
equal deleted inserted replaced
4105:05fc2796fd90 4106:f367d432509a
1042 The args are processed one at a time. All arguments after a 1042 The args are processed one at a time. All arguments after a
1043 '--' option are considered debug arguments to the program 1043 '--' option are considered debug arguments to the program
1044 for the debugger. All files named before the '--' option 1044 for the debugger. All files named before the '--' option
1045 are opened in a text editor, unless the argument ends in 1045 are opened in a text editor, unless the argument ends in
1046 .e4p, then it is opened as a project file. If it ends in 1046 .e4p, then it is opened as a project file. If it ends in
1047 .e4m, it is opened as a multiproject. 1047 .e4m or .e5m, it is opened as a multiproject.
1048 """ 1048 """
1049 # no args, return 1049 # no args, return
1050 if args is None: 1050 if args is None:
1051 if not self.__noOpenAtStartup: 1051 if not self.__noOpenAtStartup:
1052 self.__openOnStartup() 1052 self.__openOnStartup()
1101 ext = "" 1101 ext = ""
1102 1102
1103 if ext in ['.e4p']: 1103 if ext in ['.e4p']:
1104 self.project.openProject(arg) 1104 self.project.openProject(arg)
1105 opens += 1 1105 opens += 1
1106 elif ext in ['.e4m']: 1106 elif ext in ['.e4m', '.e5m']:
1107 self.multiProject.openMultiProject(arg) 1107 self.multiProject.openMultiProject(arg)
1108 opens += 1 1108 opens += 1
1109 else: 1109 else:
1110 self.viewmanager.openFiles(arg) 1110 self.viewmanager.openFiles(arg)
1111 opens += 1 1111 opens += 1

eric ide

mercurial