summaryrefslogtreecommitdiff
path: root/Lib/idlelib/ScriptBinding.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2005-06-12 05:19:23 +0000
committerKurt B. Kaiser <kbk@shore.net>2005-06-12 05:19:23 +0000
commit527e2b0cd3732b7bb1948dd13764e3746ed98b5c (patch)
treef59656f4bbdbdd64f3ee1c3e5a8e30b2f8d54508 /Lib/idlelib/ScriptBinding.py
parent08bf5f1e6510dcd97b37b54fd4d55eaeb6702848 (diff)
downloadcpython-527e2b0cd3732b7bb1948dd13764e3746ed98b5c.tar.gz
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 0017d198d1..3e92c80213 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: