Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
fd015003
Commit
fd015003
authored
Aug 09, 2006
by
Kurt B. Kaiser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ToggleTab dialog was setting indent to 8 even if cancelled (since 1.2a1).
parent
87866ed7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
Lib/idlelib/EditorWindow.py
Lib/idlelib/EditorWindow.py
+5
-5
Lib/idlelib/NEWS.txt
Lib/idlelib/NEWS.txt
+2
-0
No files found.
Lib/idlelib/EditorWindow.py
View file @
fd015003
...
...
@@ -1277,13 +1277,13 @@ class EditorWindow(object):
"Toggle tabs"
,
"Turn tabs "
+
(
"on"
,
"off"
)[
self
.
usetabs
]
+
"?
\
n
Indent width "
+
(
"will be"
,
"remains at"
)[
self
.
usetabs
]
+
" 8."
,
(
"will be"
,
"remains at"
)[
self
.
usetabs
]
+
" 8."
+
"
\
n
Note: a tab is always 8 columns"
,
parent
=
self
.
text
):
self
.
usetabs
=
not
self
.
usetabs
# Try to prevent mixed tabs/spaces.
# User must reset indent width manually after using tabs
# if he insists on getting into trouble.
self
.
indentwidth
=
8
# Try to prevent inconsistent indentation.
# User must change indent width manually after using tabs.
self
.
indentwidth
=
8
return
"break"
# XXX this isn't bound to anything -- see tabwidth comments
...
...
Lib/idlelib/NEWS.txt
View file @
fd015003
...
...
@@ -3,6 +3,8 @@ What's New in IDLE 1.2c1?
*Release date: XX-AUG-2006*
- ToggleTab dialog was setting indent to 8 even if cancelled (since 1.2a1).
- When used w/o subprocess, all exceptions were preceded by an error
message claiming they were IDLE internal errors (since 1.2a1).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment