From: bernhard_mulder at ccm.sc.intel.com (Bernhard Mulder)
Date: Fri, 16 Apr 1999 14:11:12 -0700
Subject: Pythonw IDLE Tab setting
References: <3715C0A9.D57546B@connection.com>
Message-ID: <3717A770.34CCEF8@ccm.sc.intel.com>
Content-Length: 1205
X-UID: 941                                                  

Here are the changes I made to get an indent of 3:

78c78
<     spaceindent = 3*" "
---
>     spaceindent = 4*" "
110,111c110,111
<         if i == n and chars[-3:] == "   ":
<             ndelete = 3
---
>         if i == n and chars[-4:] == "    ":
>             ndelete = 4
155c155
<                 line = line[:i] + "   " + line[i:]
---
>                 line = line[:i] + "    " + line[i:]
171,173c171,173
<                         indent = indent[:-1] + "   "
<                     elif indent[-3:] == "   ":
<                         indent = indent[:-3]
---
>                         indent = indent[:-1] + "    "
>                     elif indent[-4:] == "    ":
>                         indent = indent[:-4]
176c176
<                         indent = indent[:-3]
---
>                         indent = indent[:-4]


"Colin J. Williams" wrote:

> The program AutoIndent.py has:
>
>     prefertabs = 0
>     spaceindent = 4*" "
>
> Should spaceindent be changed to 2 if one wishes the tabs to have
> that value?
>
> Currently I use PythonWin which permits the user to change the Tab
> value (incidentally, it also provides for breakpoints).
>
> Any advice would be appreciated.
>
> Colin W.





