[futurebasic] Re: [FB] Re : [FB] [WISHLIST}Copy format

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 1999 : Group Archive : Group : All Groups

From: Mark Lincoln <mlincoln@...>
Date: Tue, 05 Oct 1999 01:37:56 -0400

Chris Stasny wrote:
> 
> >jay wrote:
> >
> >>> Am I the only one who wishes it were possible to copy code from the
> >>> editor and paste it (into an e-mail, for instance) with the editor's
> >>> formatting (keyword caps) intact? Or is this already possible and I just
> >>> don't know how?
> >
> >Rick replied
> >> You're not the only one!  I also especially miss the indenting.
> >
> >I thought that this was the very point of 'private scrap':
> >- while in the application the information is kept in the private scrap
> >using a 'proprietary' format
> >- when the user switches applications the application should translate the
> >scrap to a format that is usable outside the app.
> >
> >In this case, on getting a suspend event the FB^3 editor should translate
> >keys words to caps, insert spaces etc. ready for pasting elsewhere
> >On getting a resume event, the FB^3 editor looks to see if the scrap has
> >changed - isn't there a flag for this? - it it has, then just looks to see
> >if it is edible (ie. text), or if it hasn't chnaged, just restores it's
> >internal scrap that was in place before...
> 
> I don't think that would work for us. For instance, when I copy from the
> editor to a resource in PG, the text can't have a bunch of added spaces. I
> also can't convert the text if they move to the finder and then back into
> the applciation. There would be no way for me to compare the private scrap
> and the converted public scrap to know which was converted. It's on the
> list, but it is not a simple job. (At least the interface is not simple.)

Out of curiosity... would it be possible to grab a bunch of code and
have the FB^3 editor create a SimpleText doc out of it, keeping the
formatting?  Perhaps even give us the ability to set the creator code
(I'm assuming the 'TEXT' type) so those of us who use, say, Tex-Edit
would have a double-clickable doc to work from?

...Mark Lincoln