Re: styling text within an LC script

2015-11-09 Thread Nicolas Cueto
> Have you looked up the "HTMLText" in the dictionary. Yes. Thanks, though. I know LC objects can be styled. However, within a script itself? For example: put line verse_number of field "original text" into verse_line set the textStyle of item 3 of verse_line to "italic" Not that simple? On 1

Re: styling text within an LC script

2015-11-09 Thread dunbarx
Hi. Have you looked up the "HTMLText" in the dictionary. If I understand, this should help. Craig Newman -Original Message- From: Nicolas Cueto To: How to use LiveCode Sent: Mon, Nov 9, 2015 9:24 pm Subject: styling text within an LC script I've a script that combines tab-delim

Re: Vector Images and the SVGL stack

2015-11-09 Thread [-hh]
> R.G. wrote: > > The difference between a true Bezier object and emulating Beziers with > polygons is resolution. I see it like this, a little bit different. A "true" Bezier object is a mathematical model, for thinking and abstract computations, but not realizable in our deterministic world.

styling text within an LC script

2015-11-09 Thread Nicolas Cueto
I've a script that combines tab-delimited text. Next, how to modify my script so that parts of the combined text become italicized (or bold, or underlined, or ...)? The tab-delimited text is: - Paradiso.01 1 La gloria di colui che tutto move The glory of the One who mo

Re: Vector Images and the SVGL stack

2015-11-09 Thread Richard Gaskin
-hh wrote: > R.G. wrote: >> He [Alejandro] does a very good job of it, but SVG includes >> primitives beyond what LC offers. We have ovals, lines, >> polygons, roundRects, and rects, but SVG also allows paths >> that can consist of straight lines, curves, and even Beiziers. > > LC is pretty good a

[OT] We're shipping more copies of Programming LiveCode - please read

2015-11-09 Thread Mark Schonewille
Hi everyone, Soon, we will ship more copies of the book Programming LiveCode for the Real Beginner. Before we do so, we ask everybody who has purchased the book to confirm their address. We have sent out e-mails to all customers to request a confirmation of their adress. If you haven't recei

Re: Vector Images and the SVGL stack

2015-11-09 Thread Bob Sneidar
I was simply commenting that my sense of SVG is that it is cost free alternative to Postscript, which has to be licensed by anyone who uses it. I could be mistaken. Postscript is of course, a great deal more robust. For example, I do not see anything in the SVG standard that uses color managemen

Re: Vector Images and the SVGL stack

2015-11-09 Thread [-hh]
R.G. wrote: > He [Alejandro] does a very good job of it, but SVG includes primitives beyond > what LC offers. > We have ovals, lines, polygons, roundRects, and rects, but SVG also > allows paths that can consist of straight lines, curves, and even Beiziers. LC is pretty good able to do straight

Re: Vector Images and the SVGL stack

2015-11-09 Thread Bob Sneidar
Ah! I was under the impression that Alejandro had come up with a comprehensive library of SVG routines. As an aside, from what I am reading, SVG seems to be vector graphics for those of us who don't want to license Postscript. I've never worked with them before, but my curiosity is piqued. Bob

Re: Vector Images and the SVGL stack

2015-11-09 Thread Richard Gaskin
Unless I misunderstand what Alejandro is doing, his work is able to run in v7 and earlier because it translates SVG elements into LC graphics. He does a very good job of it, but SVG includes primitives beyond what LC offers. We have ovals, lines, polygons, roundRects, and rects, but SVG also

Re: Overriding system shortcuts in OSX

2015-11-09 Thread Howard Bornstein
I saw this when I tried to assign Cmd-H to a menu item. It simply did not show up in the menu because Apple uses Cmd-H to hide the current application. Even assuming that Apple traps the Quit command and handles it, when I assigned Cmd-Q with a multi-stack stand alone, it didn't work. I had to use

Re: Overriding system shortcuts in OSX

2015-11-09 Thread Bob Sneidar
Oddly, when I have a Quit command in a custom menu, the option does not show up. I think this is because the Livecode menu has a Quit option already, which when using the browse tool will hilite when pressing CMD-Q, but will not actually quit. I have not tested this in a standalone yet. I have

Re: Tab control-multiple cards or hidden groups?

2015-11-09 Thread Bob Sneidar
I have a separate group of controls for each tab, and by group I really mean "group". This way I just have the selectionChanged handler in the tab object show and hide the corresponding group. In fact I name each group "grp" so if for example I am showing the sites group: on selectionChanged pT

Re: Using "send...in " wirh private commands?

2015-11-09 Thread Bob Sneidar
One thing you might want to do using this process is to wait a period of time before trying to read or write to said file. Unix based operating systems will create a placeholder file prior to writing the actual file so that another process cannot use that filename in the middle of a write operat

Re: Vector Images and the SVGL stack

2015-11-09 Thread Bob Sneidar
Inversely, one could argue that if this can be done strictly with Livecode the way it is now, why do we need to make SVG support such a high priority? Bob S On Nov 7, 2015, at 08:41 , Richmond mailto:richmondmathew...@gmail.com>> wrote: This is really super work: Mark Waddingham and Co. shoul

Release 6.7.8 RC 3 / 7.1.1 RC 3

2015-11-09 Thread Sebastien Nouat
Dear List Members, We are pleased to announce the release of LiveCode 6.7.8 RC3 and 7.1.1 RC 3. *Release Content* This release contains 3 regressions fixes (fixed in both 6.7.8 RC 3 and 7.1.1 RC 3). * App Transport Security* By default, iOS applications built with Xcode 7.0 and Xcode 7.1 ar

Re: Tab control-multiple cards or hidden groups?

2015-11-09 Thread James Hale
Thanks you all for your thoughtful replies. @Paul Yes this is the direction my thinking has been heading. I think when I first toyed with this I didn't really find the application browser accessible (in a meaningful way to me) and thought multiple groups just too messy. But with the Project Bro

Re: Area of Irregular Polygon

2015-11-09 Thread Alex Tweedly
Hi Peter, No, it doesn't assume convexity - what it does assume is non-self-overlapping, (loosely aka non-self-intersecting). A simple but non-convex shape, like (excuse the lack of line-drawing in email :-) B C D A E For simplicity, pretend the shape is all in th

[ANN] This Week in LiveCode 8

2015-11-09 Thread Peter TB Brett
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #8 here: https://goo.gl/uL0SHg This is a weekly newsletter about LiveCode, focussing on what's been going on in and around t

Re: Area of Irregular Polygon

2015-11-09 Thread Peter TB Brett
On 08/11/2015 00:43, Alex Tweedly wrote: Actually, you should shorten the maths - makes it a bit more efficient function getArea pPts if line 1 of pPts <> line -1 of pPts then return 0 put 0 into tArea put empty into oldL repeat for each line L in pPts if oldL is not empt

Re: [ANN] DropboxAPI_2_tester

2015-11-09 Thread gmcrev
The stack has been updated to include a library for calling the now officially released Dropbox API v2. The library of dropbox calls are in the card script. OAuth and error checking are yet to be added. The (beta) API calls added this week by dropbox are included in the library, but they don;t all