[squeak-dev] Offer emphasis change in FontChooserTool from yellowButtonMenu?

karl ramberg karlramberg at gmail.com
Mon Apr 27 12:35:40 UTC 2015


I think I found the reason emphasis is not offered in the tool.
FontChooserTool can't pick up emphasis from the text it's about to change.

The code for font changes is really confusing...

Karl


On Mon, Apr 27, 2015 at 12:07 PM, Tobias Pape <Das.Linux at gmx.de> wrote:

>
> On 27.04.2015, at 12:04, karl ramberg <karlramberg at gmail.com> wrote:
>
> > Hi,
> > Why can we not offer emphasis in the FontChooserTool that opens from the
> yellowButtonMenu in TextEditors ?
> >
> > I have not found any text that breaks changing the emphasis, by changing
> code below to true.
> >
> > In TextEditor>>changeTextFont
> >  ...
> >     "Do not allow changing the emphasis; we don't know how to deal with
> a 'pre-emphasized' font here, so bail."
> >                                       offerStyleList: false;
> > ...
> >
> > Karl
>
> The font chooser tool btw already has a pane for style, but it
> is disabled by default…
>
> Best regards
>         -Tobias
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150427/eb1febfe/attachment.htm


More information about the Squeak-dev mailing list