Undo/redo, minibuffers.
[rox-edit.git] / AppRun
blobdab80c4f71911731ab6a5707ec3611e0e39dcdcf
1 #!/usr/bin/env python
3 import findrox
5 import sys
6 import rox
8 rox.g.rc_parse_string('style "edit-text-area" { cursor-color = "red" }\n'
9 'class "GtkTextView" style : gtk "edit-text-area"\n')
11 rox.setup_app_options('Edit')
13 # Register options...
14 from EditWindow import EditWindow
16 # All options must be registered by the time we get here
17 rox.app_options.notify()
19 if len(sys.argv) > 1:
20 for file in sys.argv[1:]:
21 EditWindow(file)
22 else:
23 EditWindow()
25 rox.mainloop()