[ python-Bugs-1567450 ] tabs missing in idle options configure
SourceForge.net
noreply at sourceforge.net
Sun Oct 1 08:39:46 CEST 2006
Bugs item #1567450, was opened at 2006-09-28 23:34
Message generated for change (Comment added) made by kbk
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1567450&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: None
Status: Open
>Resolution: Works For Me
Priority: 5
Submitted By: jrgutierrez (jrgutierrez)
>Assigned to: Kurt B. Kaiser (kbk)
Summary: tabs missing in idle options configure
Initial Comment:
1)The option to select indentation type (insert
spaces or tabs) is missing
2) The indented width is ignored
As a result IDLE 2.5 always indents inserting tabs,
width 8
Sources edited in IDLE 2.4 cannot be corrected with
IDLE 2.5:
The tabbing errors cannot be corrected with IDLE 2.5.
You must revert to IDLE 2.4
----------------------------------------------------------------------
>Comment By: Kurt B. Kaiser (kbk)
Date: 2006-10-01 02:39
Message:
Logged In: YES
user_id=149084
See IDLE NEWS for 1.2a1.
The ability to configure tab insertion as a default
didn't work, and was removed. You can set the default
by changing config-main.def: [Indent] use-spaces=0
but Python policy is to strongly encourage spaces
instead of tabs.
For any edit window, you can switch to tab indentation
by using the Format / Toggle Tabs menu selection. When
using Tabs in an edit window, the indent width must be
eight spaces because of Tk limitations.
If a file uses tabs, you have to toggle tabs 'on' before
you start editing it. IDLE doesn't yet have the ability to
detect whether a file uses tabs or spaces. (A TAB indicator
in the status line would be useful.)
Note that Tabs are always used in the Shell window.
I'm not sure what you mean by "cannot be corrected".
The Format menu has Tabify and Untabify. I suspect it
might be clearer if the dialog asking for 'tab width'
was changed to ask for 'indent width'. I am able to
change back and forth between tabs and spaces in any
region, but it does take some care.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1567450&group_id=5470
More information about the Python-bugs-list
mailing list