Re: "Tabs to Spaces" beneath Text menu

New Message Reply Date view Thread view Subject view Author view

From: Bob Batson (rcb@KC.RR.COM)
Date: 21 Oct 00, 04:21 EST


From: Bob Batson <rcb@KC.RR.COM>
Subject:      Re: "Tabs to Spaces" beneath Text menu

At 12:01 AM -0400 10/20/00, Jon Guyer <jguyer@HIS.COM> wrote:

>OK, I'm really confused now. If the menu item is disabled then it is
>grayed out and you cannot select it.
>
>If you _can_ select it, then the issue is that it doesn't do what you
>think it does. "Tabs to Spaces" is a command to convert the existing
>tab characters in your document into space characters.
>
>If what you want is for Alpha to insert some number of space
>characters each time you hit the tab key, then I'm not sure if there
>is presently a way to do that. It certainly is feasible to make Alpha
>act this way.
>
>Hopefully someone can direct you to an existing option for this or
>can provide you with a Tcl script that will achieve this.

Yes I can select "Tabs to Spaces" and no, it's not greyed-out. I use
Alpha not for programming, but writing text articles that do not
require a Word Processor and are usually posted online. I just want
to not have to select "Tabs to Spaces" before Saving. I would like
Alpha to always convert any tabs I press to nnn spaces. I've
configured Alpha so that each tab is equivalent to 8 spaces.

I'll try a tcl script that Mark Nagata posted. Thanks everyone for
the help! I do believe it's time for me to start studying tcl.

PS. I just think that the "Tabs to Spaces" command in Alpha could be
either permanently selected (as shown by a check-mark preceding it)
or not (no check-mark by it), depending on the user's wishes. Perhaps
such an option could be added to the Config menu.

--

Bob Batson                            L 39 12 14 N 94 33 16 W
rcb@kc.rr.com                         Kansas City
TCS - Mystic Fire Priest              USDA Zone 5
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Under the most controlled conditions, the experimental apparatus
will do exactly as it pleases.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by das@users.sourceforge.net with hypermail 2b29 on 31 Mar 01, 11:51 EST