> -----Original Message-----
> From: Michael Lucas-Smith
> [mailto:
[hidden email]]
> Sent: Thursday, February 23, 2006 3:43 PM
> To: Carl Gundel
> Cc: 'Vwnc'
> Subject: Re: [Pollock]Setting font for TextEdit control
>
> Welcome to VisualWorks fonts where this is -not- easy to do.
>
> What I'd like is a simple font/font: interface where I can
> simply give the various widgets a font I want them to use.
> Unfortunately, this apparently isn't possible in Pollock right now.
>
> The reason is, Pollock uses the various Scanner classes that
> come with Wrappers to do vertical text orientation,
> horizontal spacing and even wrapping.
>
> These scanners are hard coded to use the TextAttribute
> classes. These classes are an abomination until mankind. But,
> basically, what you need to do is make yourself a
> TextAttribute instance and you can give
> -that- to the TextEdit.
>
> Needless to say, WithStyle does -not- do this. Nor does
> WithStyle use those horrible Scanners.
>
> Sam has promised that in the next one or two projects this
> area will be completely rewritten so we can just give the
> widget the desired font. *fingers crossed*
>
> </end rant>
>
> Cheers,
> Michael
>
> > I'd really like to set the font on a Pollock TextEdit to courier or
> > some other monospaced terminal font. I'm used to VisualSmalltalk
> > where this is really easy to do, but I couldn't figure out how this
> > works in VW and Pollock. Anyone have a quick pointer?
>
> > Thanks!
>
> > -Carl Gundel, author of Liberty BASIC
> >
http://www.libertybasic.com>
>