Re: customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
On Sat, Oct 10, 2015 at 6:24 PM, Richard Gaskin wrote: > Hello World That gets back to parsing backwards from the point of insertion, I think . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runr

Re: customProperties or similar for words in a field?

2015-10-10 Thread Richard Gaskin
Scott Rossi wrote: I probably don't understand the scope of the problem, but barring the use of wordOffset (am guessing some of your strings are multiple words), perhaps you could use htmlText with custom tags, i.e. Sept 10, 2015 and render the text as htmlText. In theory, the tags won't be sho

Re: customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
On Sat, Oct 10, 2015 at 5:34 PM, J. Landman Gay wrote: > I can't think of anything elegant offhand. What popped into my head was a > "madlibs" approach where you put up a dialog requesting the various data > items and save the responses. Not pretty. > I'm partway there. I parse each input line

Re: customProperties or similar for words in a field?

2015-10-10 Thread Scott Rossi
I probably don't understand the scope of the problem, but barring the use of wordOffset (am guessing some of your strings are multiple words), perhaps you could use htmlText with custom tags, i.e. Sept 10, 2015 and render the text as htmlText. In theory, the tags won't be shown to the user, but wi

Re: customProperties or similar for words in a field?

2015-10-10 Thread J. Landman Gay
On 10/10/2015 10:28 AM, Dr. Hawkins wrote: On Sat, Oct 10, 2015 at 8:21 AM, J. Landman Gay wrote: This sounds like a job for the merge command. thanks,but that's a one-way trip. If the user changes something, I need to know which piece, as it shows up elsewhere. (And, potentially the use

Re: customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
On Sat, Oct 10, 2015 at 8:21 AM, J. Landman Gay wrote: > > This sounds like a job for the merge command. > > thanks,but that's a one-way trip. If the user changes something, I need to know which piece, as it shows up elsewhere. (And, potentially the user could change the base text, too, which

Re: customProperties or similar for words in a field?

2015-10-10 Thread J. Landman Gay
On October 10, 2015 9:58:13 AM CDT, "Dr. Hawkins" wrote: > >I am now getting to motions, which will use data much like mail-merge >in a >word processor. So I might use something like > >Debtor ##dname## filed this petition on ##petdate## > > >to generate > > >Debtor John Doe filed this petitio

Re: customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
It has also occurred to me to wrap in an html tag or some such to do this. On Sat, Oct 10, 2015 at 7:58 AM, Dr. Hawkins wrote: > Most of what I generate is forms, so keeping track of fields is easy and > natural. > > I am now getting to motions, which will use data much like mail-merge in a > w

customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
Most of what I generate is forms, so keeping track of fields is easy and natural. I am now getting to motions, which will use data much like mail-merge in a word processor. So I might use something like Debtor ##dname## filed this petition on ##petdate## to generate Debtor John Doe filed th