HTML muddle

Peter Haworth pete at lcsql.com
Wed Feb 18 15:00:02 EST 2015


I've been working on  text styling toolstrip for a while which has
icons/menus for most of the common text styling attributes.  It's not
really great from the UI perspective but it might be worth a try to solve
this one sepcific problem.  If interested, contact me off list and I'll
send it to you.

On Wed Feb 18 2015 at 11:41:22 AM Graham Samuel <livfoss at mac.com> wrote:

> You probably can. But when I started trying to do this, it didn't work for
> some reason. For example, in the IDE I create a field and I write some text
> into it. A bit of this text is
>
>  His sins were scarlet, but his books were read.
>
> I decide to make this red, bold, Perpetua, leaving the rest of the text in
> plain black Times New Roman. How, exactly? I can't get beyond Bold
> (command-B on the Mac). The colour swatches on the tool palette seem to
> have no effect, and I can't find a font menu. I completely believe that
> it's possible, but there is no intuitive way to do it that I can see
> straight off. In fact I haven't had to do this kind of thing much at all,
> which is probably why I picked such a wobbly solution. But I am willing to
> learn.
>
> Thanks
>
> Graham
>
> > On 18 Feb 2015, at 20:26, J. Landman Gay <jacque at hyperactivesw.com>
> wrote:
> >
> > On 2/18/2015 3:32 AM, Graham Samuel wrote:
> >> This text is static in my standalone, but I have often needed to
> >> change it during development. I have not found a simple way to do
> >> this, and I have now resorted to having a ‘plain text’ field
> >> (‘myText’) with the whole html of the target field in it, and at
> >> initialisation time I execute:
> >>
> >> set the htmlText of fld “myFormattedText” to fld “myText”
> >
> > I'm confused. Why can't you just edit the text and its formatting in
> situ?
> >
> > --
> > Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> > HyperActive Software           |     http://www.hyperactivesw.com
> >
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list