There is a bug in the IDLE configuration dialog in the 1.1 versions. (Why not update to a newer version?)
You can change the value manually in your user config files: 1. Go to the .idlerc directory (~/.idlerc on unix/linux, Documents and Settings\<username>\.idlerc on WinXP) 2. Open config-main.cfg with a text editor (create it if it doesn't exist) 3. Add the following two lines: [Indent] num-spaces = 2 I don't have version 1.1.1 handy, but hopefully this should help... let me know if it works out. - Tal Einat On 3/19/07, Liang Zou <[EMAIL PROTECTED]> wrote:
Hi, When I set the new indent width to 2, it won't be saved. When I open a new window next time, it will reset to 4. I was wondering if I can save the default indent width to 2. I tried to use the set indentation defaults function in the option dialog, but it doesn't work at all. I'm using idle 1.1.1 Thank you very much for your help. Sincerely yours, Liang Zou _______________________________________________ IDLE-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/idle-dev
_______________________________________________ IDLE-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/idle-dev
