Bugs item #783887, was opened at 2003-08-05 23:00 Message generated for change (Comment added) made by nanjundi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=783887&group_id=5470
Category: IDLE Group: Python 2.3 Status: Open Resolution: None Priority: 3 Submitted By: Andy Huibers (ahuibers) Assigned to: Kurt B. Kaiser (kbk) Summary: Tab / Space Configuration Does Not Work in IDLE Initial Comment: On Python 2.3/IDLE 1.0, when I go from the editor to: Options->Configure Idle->Font/Tabs And set it to "Tab key inserts tabs" what actually happens is that the tab key inserts spaces (4 spaces). ---------------------------------------------------------------------- Comment By: Nanjundi (nanjundi) Date: 2005-01-17 15:07 Message: Logged In: YES user_id=1199110 I got the error. I am using Python 2.3.4. Hitting TAB in the editor advances the cursor by "4" spaces irrespective of the "indent width" in Configure idle...-> Fonts/Tab -> choose indentation size: I did a quick and dirty fix. I had to modify the Line# 915 in file <py install path>Python23/Lib/idlelib/EditorWindow.py Requires restart of IDLE for the change to take effect. [Before] indentwidth = 3 [After] indentwidth = idleConf.GetOption('main','Indent','num-spaces', default=4,type='int') ---------------------------------------------------------------------- Comment By: Kurt B. Kaiser (kbk) Date: 2003-09-05 19:26 Message: Logged In: YES user_id=149084 I can reproduce this on XP and Linux. Of course, everyone should use 4 spaces :) ---------------------------------------------------------------------- Comment By: Andy Huibers (ahuibers) Date: 2003-08-06 15:09 Message: Logged In: YES user_id=838612 Mmm.. I re-installed the Windows Python-2.3 installer EXE on a fresh PC and I have the problem, even when I hit "Apply" and "OK". It is not a big deal of course, but would be nice if it worked.. ---------------------------------------------------------------------- Comment By: Raymond Hettinger (rhettinger) Date: 2003-08-06 01:17 Message: Logged In: YES user_id=80475 I cannot reproduce the problem. This may be a silly question, but did you click Apply after changing the setting? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=783887&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com