mirror of
https://github.com/python/cpython.git
synced 2025-08-24 18:55:00 +00:00
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
This commit is contained in:
parent
df506ea98b
commit
ca7329c9c1
3 changed files with 12 additions and 9 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue