Error in textFont reporting?

Mark Smith mark at maseurope.net
Tue Jan 16 10:23:02 EST 2007


A workaround (assuming that the textfont is never actually going to  
be mixed) might be to get the textFont of char 1 of the selectedText.

Best,

Mark

On 16 Jan 2007, at 14:34, Bob Warren wrote:

> on mouseMove
>  if the selectedText is not empty then
>    put the textFont of the selectedText into field "result"
>  end if
> end mouseMove
>
> OR
>
> on mouseMove  if the selectedChunk is not empty then
>    put the textFont of the selectedChunk into field "result"
>  end if
> end mouseMove
>
> If I select the whole word in field "test", instead of "courier" in  
> the field "result" I get "mixed". But it is the SIZE that is mixed,  
> NOT the font name!
>
> I am using Rev 2.6.1.
> Am I doing something silly, or is this a known error?
> If it is a known error, is there a workaround?
> Has it been fixed in Rev 2.7?




More information about the use-livecode mailing list