[futurebasic] RE: [FB] Where is FB5 Editor's Strip Spaces feature/Command?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2010 : Group Archive : Group : All Groups

From: "Edwards, Waverly" <Waverly.Edwards@...>
Date: Wed, 21 Apr 2010 03:58:37 -0500
I dont know the reason but I've missed it too.  I have my suspicion it was removed 
because of the difficulty in determining when to remove leading spaces from as line.
In the absence of a parser, you really need a good algorithm to determine when to
remove spaces.  

appearance button _statLabel,¬
                 ,,,,, @r,¬
                 _kControlStaticTextProc
tfs.flags = _kControlUseFontMask¬
            _kControlUseSizeMask¬
            _kControlUseFaceMask¬
            _kControlUseJustMask


Hopefully, the option-L's come through in this email but the above code has them
on nearly every line.  How do you remove leading or trailing spaces and technically
you could have a line remark on each line.

appearance button _statLabel,¬ // remark
                 ,,,,, @r,¬                     // remark here too
                 _kControlStaticTextProc // more remaks


You might suggest that any line with an option-L is ignored in the stripping process
but what about the last continued line that doesnt have an option-L.  You really need
to parse the code just to able to ensure that you dont accidently remove spaces which
should be left alone.


Just a suspicion.


W.

________________________________________
From: Bernie [fblist.bw@...]
Sent: Wednesday, April 21, 2010 4:16 AM
To: futurebasic@...
Subject: Re: [FB] Where is FB5 Editor's Strip Spaces feature/Command?

RC wrote:

> This feature is a necessity.
> It used to exist in Edit menu above Divider Lines.
> Where the heck did it go? And for what possible reason was it removed?

FWIW, I miss it too.

Bernie

--
To unsubscribe, send ANY message to: futurebasic-unsubscribe@...