Re: HTML muddle

2015-02-18 Thread Graham Samuel
Yes, it is: I'm a convert. Somehow when I tried to do this long ago it seemed more difficult and so I dropped it like a hot coal, and the memory made me search for solutions elsewhere. Maybe it was me all the time (very likely) or maybe things have changed. Anyway with the usual fabulous help f

Re: HTML muddle

2015-02-18 Thread Jim Lambert
> RichardG wrote: > > When text is rendered on screen (in LC, Word, or even a Web browser), > it's a binary structure of text and style runs. Just to mix it up more, on OS X the screen is rendered in Display PostScript. Jim Lambert ___ use-livecode

Re: HTML muddle

2015-02-18 Thread J. Landman Gay
On 2/18/2015 2:00 PM, Richmond wrote: As far as I can see the problem that Graham has is that editing the text in situ is that it is not WYSIWYG. Sure it is. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com

Re: HTML muddle

2015-02-18 Thread J. Landman Gay
On 2/18/2015 1:39 PM, Graham Samuel 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

Re: HTML muddle

2015-02-18 Thread Richard Gaskin
Richmond wrote: > As far as I can see the problem that Graham has is that editing > the text in situ is that it is not WYSIWYG. While it's true that some of the advanced field features introduced in v5.5 don't have IDE support yet (paragraph borders, etc.), the basics are there in the IDE's Te

Re: HTML muddle

2015-02-18 Thread Richmond
On 18/02/15 21:26, J. Landman Gay 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

Re: HTML muddle

2015-02-18 Thread Peter Haworth
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.

Re: HTML muddle

2015-02-18 Thread Graham Samuel
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 t

Re: HTML muddle

2015-02-18 Thread Richard Gaskin
Graham Samuel wrote: > Richard, great insight as usual. I see that bothering with HTML > was probably a totally unnecessary trip down the rabbit hole. HtmlText is great for many things, but styledText is also pretty cool, and as Jacque suggested using the LC commands to set the style attribute

Re: HTML muddle

2015-02-18 Thread Graham Samuel
Richard, great insight as usual. I see that bothering with HTML was probably a totally unnecessary trip down the rabbit hole. While I hide behind a rock (to deflect the shrapnel), who decided what the standard for style runs should be? Not Microsoft, I assume. Like there are some underlying con

Re: HTML muddle

2015-02-18 Thread J. Landman Gay
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

Re: HTML muddle

2015-02-18 Thread Fraser Gordon
On 18 Feb 2015, at 18:08, Richard Gaskin wrote: > Know the engine. > Trust the engine. > Use the engine. The engine is your friend. All hail the mighty engine. I think Nietzsche may have been right… when you gaze too long into the engine, the engine also gazes into you. Fraser

Re: HTML muddle

2015-02-18 Thread Richard Gaskin
Graham Samuel wrote: > I just tried it and of course it works, but I can’t quite see > what’s happening inside LC. I mean, I can select the field > within my stack which has the formatted text in it, copy it > and paste it into Word, and bingo! it looks the same. There > is no obvious sign that W

Re: HTML muddle

2015-02-18 Thread Graham Samuel
Curry, that’s really interesting: I just tried it and of course it works, but I can’t quite see what’s happening inside LC. I mean, I can select the field within my stack which has the formatted text in it, copy it and paste it into Word, and bingo! it looks the same. There is no obvious sign th

Re: HTML muddle

2015-02-18 Thread Bob Sneidar
I’ll buy it when you are done! Bob S > On Feb 18, 2015, at 09:00 , Curry Kenworthy wrote: > > > Bob Sneidar: > > > Didn’t someone write a plugin that allows you to edit the text > > attributes and styles of text in a field? > > I made one called FieldTrip. > > It's currently being updated

Re: HTML muddle

2015-02-18 Thread Graham Samuel
Me too! Graham > On 18 Feb 2015, at 18:03, Bob Sneidar wrote: > > I’ll buy it when you are done! > > Bob S > > >> On Feb 18, 2015, at 09:00 , Curry Kenworthy wrote: >> >> >> Bob Sneidar: >> >>> Didn’t someone write a plugin that allows you to edit the text >>> attributes and styles of te

Re: HTML muddle

2015-02-18 Thread Curry Kenworthy
Bob Sneidar: > Didn’t someone write a plugin that allows you to edit the text > attributes and styles of text in a field? I made one called FieldTrip. It's currently being updated for newer iOS and LC versions, because FT is 10% text styling and 90% custom mobile/desktop GUI. Plus there are

Re: HTML muddle

2015-02-18 Thread Bob Sneidar
Didn’t someone write a plugin that allows you to edit the text attributes and styles of text in a field? Bob S On Feb 18, 2015, at 01:32 , Graham Samuel mailto:livf...@mac.com>> wrote: This seems kind of mad, but I can’t see how I can edit the original text in situ during the development pro

Re: HTML muddle

2015-02-18 Thread Curry Kenworthy
Graham Samuel: > I have a fairly elaborately formatted field (say ‘myFormattedText) - > coloured text, different fonts, styles and sizes. ... > I can’t see how I can edit the original text in situ during the > development process: so I am reduced to editing the raw html in the > ‘myText’ field,

Re: HTML muddle

2015-02-18 Thread BNig
ards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/HTML-muddle-tp4689010p4689013.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.

Re: HTML muddle

2015-02-18 Thread Tore Nilsen
Have you tried using Brackets together with the Chrome-browser? This will give you a live update of the html in the Chrome browser as you edit the code in Brackets. My students use Brackets for their html tasks, and I am also using it myself to produce html-pages to be displayed in the browser

Re: HTML muddle

2015-02-18 Thread Richmond
On 18/02/15 11:32, Graham Samuel wrote: Folks, the muddle is mine. I am in the situation where I have a fairly elaborately formatted field (say ‘myFormattedText) - coloured text, different fonts, styles and sizes. This text is static in my standalone, but I have often needed to change it durin

HTML muddle

2015-02-18 Thread Graham Samuel
Folks, the muddle is mine. I am in the situation where I have a fairly elaborately formatted field (say ‘myFormattedText) - coloured text, different fonts, styles and sizes. This text is static in my standalone, but I have often needed to change it during development. I have not found a simple w