3 |
3 |
4 # Copyright (c) 2007 - 2014 Detlev Offenbach <detlev@die-offenbachs.de> |
4 # Copyright (c) 2007 - 2014 Detlev Offenbach <detlev@die-offenbachs.de> |
5 # |
5 # |
6 |
6 |
7 """ |
7 """ |
8 Eric5 Editor. |
8 Eric6 Editor. |
9 |
9 |
10 This is the main Python script that performs the necessary initialization |
10 This is the main Python script that performs the necessary initialization |
11 of the MiniEditor module and starts the Qt event loop. This is a standalone |
11 of the MiniEditor module and starts the Qt event loop. This is a standalone |
12 version of the integrated MiniEditor module. |
12 version of the integrated MiniEditor module. |
13 """ |
13 """ |
60 ("--config=configDir", |
60 ("--config=configDir", |
61 "use the given directory as the one containing the config files"), |
61 "use the given directory as the one containing the config files"), |
62 ("", "name of file to edit") |
62 ("", "name of file to edit") |
63 ] |
63 ] |
64 appinfo = AppInfo.makeAppInfo(sys.argv, |
64 appinfo = AppInfo.makeAppInfo(sys.argv, |
65 "Eric5 Editor", |
65 "Eric6 Editor", |
66 "", |
66 "", |
67 "Simplified version of the eric5 editor", |
67 "Simplified version of the eric6 editor", |
68 options) |
68 options) |
69 res = Startup.simpleAppStartup(sys.argv, |
69 res = Startup.simpleAppStartup(sys.argv, |
70 appinfo, |
70 appinfo, |
71 createMainWidget) |
71 createMainWidget) |
72 sys.exit(res) |
72 sys.exit(res) |