summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/ScriptBinding.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2005-06-12 05:19:23 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2005-06-12 05:19:23 (GMT)
commitca7329c9c124080b817ceb67b4e3ee7963b81d41 (patch)
treeb3907b11e34de9c2bf8bc70a02e77d98819cc2fa /Lib/idlelib/ScriptBinding.py
parentdf506ea98b1c9424634c6063e90a664ac9127164 (diff)
downloadcpython-ca7329c9c124080b817ceb67b4e3ee7963b81d41.zip
cpython-ca7329c9c124080b817ceb67b4e3ee7963b81d41.tar.gz
cpython-ca7329c9c124080b817ceb67b4e3ee7963b81d41.tar.bz2
1. Clarify "tab/space" Error Dialog and "Tab Width" Dialog associated with
the Untabify command. 2. Corrected "tab/space" Error Dialog to show correct menu for Untabify. Patch 1196980 Jeff Shute M EditorWindow.py M NEWS.txt M ScriptBinding.py
Diffstat (limited to 'Lib/idlelib/ScriptBinding.py')
-rw-r--r--Lib/idlelib/ScriptBinding.py13
1 files changed, 5 insertions, 8 deletions
diff --git a/Lib/idlelib/ScriptBinding.py b/Lib/idlelib/ScriptBinding.py
index 0017d19..3e92c80 100644
--- a/Lib/idlelib/ScriptBinding.py
+++ b/Lib/idlelib/ScriptBinding.py
@@ -31,16 +31,13 @@ IDENTCHARS = string.ascii_letters + string.digits + "_"
indent_message = """Error: Inconsistent indentation detected!
-This means that either:
+1) Your indentation is outright incorrect (easy to fix), OR
-1) your indentation is outright incorrect (easy to fix), or
-
-2) your indentation mixes tabs and spaces in a way that depends on \
-how many spaces a tab is worth.
-
-To fix case 2, change all tabs to spaces by using Select All followed \
-by Untabify Region (both in the Edit menu)."""
+2) Your indentation mixes tabs and spaces.
+To fix case 2, change all tabs to spaces by using Edit->Select All followed \
+by Format->Untabify Region and specify the number of columns used by each tab.
+"""
class ScriptBinding: