From b9aeee72c2a16512da9ed65f9ff50a1503e60408 2011-06-20 23:40:12 From: MinRK Date: 2011-06-20 23:40:12 Subject: [PATCH] update QtConfig section of ipython_config to match actual defaults --- diff --git a/IPython/config/profile/default/ipython_config.py b/IPython/config/profile/default/ipython_config.py index cef6daa..9626c19 100644 --- a/IPython/config/profile/default/ipython_config.py +++ b/IPython/config/profile/default/ipython_config.py @@ -168,16 +168,23 @@ c = get_config() # QtConsole configuration #----------------------------------------------------------------------------- -# set the preferred font and font size: -# c.ConsoleWidget.font_family = "Anonymous Pro" -# c.ConsoleWidget.font_size = 10 +# set the preferred typeface and font size. The default typeface is: +# 'Consolas' on Windows (fallback to 'Courier') +# 'Monaco' on OSX +# 'Monospace' elsewhere +# c.ConsoleWidget.font_family = "Consolas" -# set the syntax-highlighting style: -# c.IPythonWidget.syntax_style = 'perldoc' +# The point fontsize. Leave as zero to let Qt decide on the starting font size. +# While running, you can change the font size with ctrl- +/- +# c.ConsoleWidget.font_size = 0 + +# set the pygments syntax-highlighting style: +# c.IPythonWidget.syntax_style = 'default' # Configure the prompts: # c.IPythonWidget.in_prompt = 'In [%i]: ' # c.IPythonWidget.out_prompt = 'Out[%i]: ' # set the editor - this must be a *GUI* editor, like notepad/gedit/TextMate -# c.IPythonWidget.editor = 'mate -w' +# There is no default on systems other than Windows. +# c.IPythonWidget.editor = 'notepad'