[IPython-dev] Rethinking the gui (and qt ui)

Ville M. Vainio vivainio@gmail....
Wed Nov 5 11:22:30 CST 2008

Instead of doing the qt gui the way wx guis are done (i.e. mirror the
console ipython way, with autoindent), I thought of adding an
interesting twist to multiline statements:

- You can press ctrl+b to launch "block editing" mode
- This is a normal qscintilla text control, with scintilla python
lexer doing the coloring and ipython doing the tab completion
- ctrl + enter sends the mulitine block to ipython
- ctrl + pgup / pgdn brings entries from history to the editor

This will allow us to get rid of all the complexity related to
indentation, and editing of previous lines. We can push everything
directly to ipython, since everyhing is a "complete statement".

At some point, we may even play with the idea of "ipython lite"
branch, where terminal/readline/autoindent/partial statement
complexity is factored away (but which requires a gui).

Ville M. Vainio

More information about the IPython-dev mailing list