[Pythonmac-SIG] IDE class/method popup?

Joseph J. Strout joe@strout.net
Thu, 7 Oct 1999 07:44:41 -0700


At 8:41 AM -0400 10/07/99, Jim Harrison wrote:
> >I just had the same problem this week, and check
> >if you use spaces instead of tabs for indentation.
>
>That did it, thanks (version 1.5.2c1). This will make editing Linux
>python scripts interesting.

You know, this issue has come up before.  It occurs to me that the 
IDE has a "scripts" menu in which you can place any Python script you 
want to be easily accessible.  Couldn't you write "Tabify" and 
"Detabify" scripts, and place them in this menu?  They'd be designed 
to act on the frontmost window (if you need help getting a reference 
this window or its data, I can probably help).  So when you suck your 
space-indented file down, you'd just "Tabify" it, and when you're 
ready to upload to Linux, you'd "Detabify" it (if you really feel the 
need -- personally, I just leave the tabs in).

HTH,
-- Joe

,------------------------------------------------------------------.
|    Joseph J. Strout           Biocomputing -- The Salk Institute |
|    joe@strout.net             http://www.strout.net              |
`------------------------------------------------------------------'