[ python-Bugs-1339883 ] TAB SETTINGS DONT WORK (win)

SourceForge.net noreply at sourceforge.net
Tue Aug 8 19:59:19 CEST 2006


Bugs item #1339883, was opened at 2005-10-27 15:41
Message generated for change (Comment added) made by kbk
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1339883&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IDLE
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: reson5 (reson5)
Assigned to: Kurt B. Kaiser (kbk)
Summary: TAB SETTINGS DONT WORK (win)

Initial Comment:
Hi!

I have downloaded newer version of Python and 
unfortunately the TAB settings in IDLE have no effect on 
the spaces inserted - ALWAYS 4 spaces.
Previous release had the same problem.

Win 2k, Python 2.4.2.

Regards,
   Reson

----------------------------------------------------------------------

>Comment By: Kurt B. Kaiser (kbk)
Date: 2006-08-08 13:59

Message:
Logged In: YES 
user_id=149084

Ah, ok, I see what you are talking about.
This was fixed in 2.5.  Try 2.5b3!

See Rev 38319 and 38400 at
http://svn.python.org/view/python/trunk/Lib/idlelib/
EditorWindow.py?rev=50833&view=log

I'm making another change in this area: if the user
selects Toggle Tabs and Cancel, his indentation setting
is changed to 8.  It should not change unless he 
actually selects Tab indentation.  Change should be in
2.5c1, due out around 18Sep.

These changes should not be backported to 2.4 since they
are essentially feature changes, not just bugs.

----------------------------------------------------------------------

Comment By: Kurt B. Kaiser (kbk)
Date: 2006-08-07 23:03

Message:
Logged In: YES 
user_id=149084

Yes, as designed.  Python strongly encourages the
use of four space indent.  If you really need to 
change this for some reason, modify the config-main.def
section [Indent] num-spaces value.

The colums per tab dialog in tabify/untabify is used
for converting tabbed code to spaced code.  Weirdly
indented code (i.e. 6 spaces) can be converted to 
tabs and then back to four space indent using those
two functions.

What is your use case?

----------------------------------------------------------------------

Comment By: Kurt B. Kaiser (kbk)
Date: 2006-08-07 20:44

Message:
Logged In: YES 
user_id=149084

Yes, as designed.  Python strongly encourages the
use of four space indent.  If you really need to 
change this for some reason, modify the config-main.def
section [Indent] num-spaces value.

The colums per tab dialog in tabify/untabify is used
for converting tabbed code to spaced code.  Weirdly
indented code (i.e. 6 spaces) can be converted to 
tabs and then back to four space indent using those
two functions.

What is your use case?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1339883&group_id=5470


More information about the Python-bugs-list mailing list