Re: Find some text characters

2017-07-17 Thread Thierry Douez via use-livecode
2017-07-18 6:31 GMT+02:00 Peter Bogdanoff via use-livecode < use-livecode@lists.runrev.com>: > Thierry, I ended up using your first Regex example—works great! > > It is very good to know about \p{} matches—everything from Arabic to Yi. That may come in handy later. > > Thanks, > > Peter > > ​Glad

Re: Find some text characters

2017-07-17 Thread Peter Bogdanoff via use-livecode
Thierry, I ended up using your first Regex example—works great! It is very good to know about \p{} matches—everything from Arabic to Yi. That may come in handy later. Thanks, Peter > On Jul 17, 2017, at 8:54 PM, Thierry Douez via use-livecode > wrote: > > 2017-07-18 3:53 GMT+02:00 Thierry D

Re: Find some text characters

2017-07-17 Thread Thierry Douez via use-livecode
2017-07-18 3:53 GMT+02:00 Thierry Douez : > >> I want to know if this data contains Chinese characters >> >> Thanks for suggestions! >> >> Peter Bogdanoff >> >> > ​Hi Peter, > ​Ok, back after my second morning coffee :) A better way to check for Chinese code points would be something like that

RE: intersect . . . invisible images

2017-07-17 Thread Jim Lambert via use-livecode
> Richmond wrote: > > all the cheap American series... Oh, and, inevitably "Mission Impossible”. Yesterday the actor Martin Landau, who appeared in that show, died at the age of 89. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runre

Re: Find some text characters

2017-07-17 Thread Thierry Douez via use-livecode
2017-07-17 23:40 GMT+02:00 Peter Bogdanoff via use-livecode < use-livecode@lists.runrev.com>: > Is there a easy way to do this?: > > Given this htmlText that may contain Chinese characters and/or some > horizontal tabs— > > 大胆的强 > > I want to know if this data contains Chinese characters, that

Re: Find some text characters

2017-07-17 Thread Jonathan Lynch via use-livecode
Another way... just playing around Replace tab with empty in tstring Replace ";" with empty in tstring Replace "#" with empty in tstring Replace "&" with linefeed in tstring Repeat for each line tLine in tstring If the number of chars in tLine = 5 then Put tLine and linefeed after tList End if En

Re: Find some text characters

2017-07-17 Thread Jonathan Lynch via use-livecode
Another way, just for fun Put empty into tnums Repeat for each char tchar in tstring If isnumber(tchar) = true then Put tchar after tnums Else if tnums <> empty then If the number of chars in tnums = 5 then Put tnums & linefeed after tnumlist End if Put empty into tnums End if End repeat This

Re: Find some text characters

2017-07-17 Thread dunbarx via use-livecode
This cries out for regex. Thierry? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Find-some-text-characters-tp4717138p4717143.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode

Re: Find some text characters

2017-07-17 Thread Jonathan Lynch via use-livecode
Could replace tab with empty first, if the tabs do not matter in the final product I imagine LC provides many ways to do this :) Sent from my iPhone > On Jul 17, 2017, at 6:20 PM, Niggemann, Bernd via use-livecode > wrote: > > > Given this htmlText that may contain Chinese characters and/or

Re: Find some text characters

2017-07-17 Thread Niggemann, Bernd via use-livecode
Given this htmlText that may contain Chinese characters and/or some horizontal tabs— 大胆的强 I want to know if this data contains Chinese characters, that is an entity with 5 numbers between the “#” and the “;” according to google-translate this means "bold and strong" maybe this is a way?

Re: Find some text characters

2017-07-17 Thread Jonathan Lynch via use-livecode
If the number of chars in tItem = 8 then... You always have three extra chars, so that should be right. If you need an itemdelimiter, use "&" and check if the number of chars in each item = 7 Sent from my iPhone > On Jul 17, 2017, at 5:40 PM, Peter Bogdanoff via use-livecode > wrote: > > Is

Re: intersect . . . invisible images

2017-07-17 Thread Dr. Hawkins via use-livecode
On Mon, Jul 17, 2017 at 12:36 PM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > > These gave me an incredibly distorted view of American culture . . . > > After all the series all seemed to consist of John Wayne knock-offs > walking around > as if they had filled

Find some text characters

2017-07-17 Thread Peter Bogdanoff via use-livecode
Is there a easy way to do this?: Given this htmlText that may contain Chinese characters and/or some horizontal tabs— 大胆的强 I want to know if this data contains Chinese characters, that is an entity with 5 numbers between the “#” and the “;” Only data containing 5 numbers between the “#” an

Re: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Monte Goulding via use-livecode
> On 17 Jul 2017, at 11:36 pm, Mark Waddingham via use-livecode > wrote: > > Okay, so having just read the form thread as well... > > There are two things here: > > 1) Bracket highlighting > > 2) Bracket completion > > They should both be preferences. > > Secondly, both should really onl

Re: intersect . . . invisible images

2017-07-17 Thread Richmond Mathewson via use-livecode
My parents got a TV when I was 9 (1971), but, because they were educational and social snobs did not allow me to watch anything except "nice" children's programmes on the BBC (one of the presenters later went to prison for paedophilia). I did not really get into TV until, oddly enough, I was sh

Re: postgres table query not getting all names

2017-07-17 Thread Dr. Hawkins via use-livecode
On Sun, Jul 16, 2017 at 12:25 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > If there is a built in function for getting the schema of the particular > database, I would use that. For instance you can query sqLite master > database for a list of tables using: > That's

Re: intersect . . . invisible images

2017-07-17 Thread J. Landman Gay via use-livecode
On 7/17/17 2:56 AM, Richmond Mathewson via use-livecode wrote: That's because Richmond doesn't share your sense of humour, and never really could understand North American jokes . . . In this case it's probably because you were either an infant or mostly just potential when the Twilight Zone s

Re: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Mark Wieder via use-livecode
On 07/17/2017 05:33 AM, hh via use-livecode wrote: The following compiles ;-) on shouldn'tYouNotAppear? answer "Just for fun: No." end shouldn'tYouNotAppear? I *do* use "?" trailers in the ruby sense for functions that return boolean values. But double negatives? Eek! -- Mark Wieder

Re: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Mark Wieder via use-livecode
On 07/17/2017 03:41 AM, Mark Waddingham via use-livecode wrote: On Purpose. '{' is not a valid LCS bracket - so it shouldn't be appear outside of strings. I would find "{}" completion *inside* strings very useful in generating json key:value pairs. -- Mark Wieder ahsoftw...@gmail.com ___

Re: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Mark Waddingham via use-livecode
On 2017-07-17 18:39, Mark Wieder via use-livecode wrote: On 07/17/2017 03:41 AM, Mark Waddingham via use-livecode wrote: Indeed, bracket completion has to ignore content of strings otherwise you can't write stuff like: put ( ")" & "'" ) & ( "'" ) into tVar Without funky things happening.

Re: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Mark Wieder via use-livecode
On 07/17/2017 03:41 AM, Mark Waddingham via use-livecode wrote: Indeed, bracket completion has to ignore content of strings otherwise you can't write stuff like: put ( ")" & "'" ) & ( "'" ) into tVar Without funky things happening. ...and with good reason. I can't think why I would *ever

Re: Livecode server, timeout and processes

2017-07-17 Thread Richard Gaskin via use-livecode
jbv wrote: > A few days ago I ran into a severe problem with livecode server. > A subtil and unexpected change in the way one of my clients inputs > data via his app caused an endless loop to appear in one of the LC > scripts on the server, which lead to a 504 Gateway Timeout error. > As this scr

Re: Correct img format for browser widget.

2017-07-17 Thread james--- via use-livecode
Hi Jonathan, Cool. Works a treat and no need for array. Using a percentage also means I can allow the browser widget to be resized. Very cool. img { Max-width: 90%; } James On 17 Jul 2017, at 22:00, jonathandly...@gmail.com wrote: > Just a quick note - you can set the max-width of images

Re: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Mark Waddingham via use-livecode
On 2017-07-17 14:33, hh via use-livecode wrote: Isn't this more a thing of editing only than of debugging/compiling? The current completions occur also while I am typing inside of a string.. Okay, so having just read the form thread as well... There are two things here: 1) Bracket highligh

Re: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread hh via use-livecode
> Mark Waddingham wrote: > On 2017-07-17 11:05, panagiotis merakos via use-livecode wrote: > > @Hermann > > I am not sure if "{}" were left out on purpose or not, I'll ask Monte. > > However, if you want to add them, you have to: > > On Purpose. '{' is not a valid LCS bracket - so it shouldn't be

Re: Correct img format for browser widget.

2017-07-17 Thread Jonathan Lynch via use-livecode
Hi James, Just a quick note - you can set the max-width of images in CSS. That will limit their size with just one line. Sent from my iPhone > On Jul 16, 2017, at 11:42 PM, James Hale via use-livecode > wrote: > > Thank you so much Hermann and Jonathan > > It took me a little time but I wor

Re: LiveCode crashing when I try to make a Mac standalone

2017-07-17 Thread Jonathan Lynch via use-livecode
Thank you Panos Sent from my iPhone > On Jul 14, 2017, at 7:07 AM, panagiotis merakos via use-livecode > wrote: > > Hi Jonathan, > > You could: > > 1. Type in the message box: "put true into grevdevelopment" > 2. And then "edit the script of stack revsaveasstandalone" > 3. Add breakpoints to

Re: Correct img format for browser widget.

2017-07-17 Thread Jonathan Lynch via use-livecode
It sounds like the dataURL method costs about a tenth of a second per image, for moderately large images. I had never tested that, but it's good to know. For my purposes right now, that is not an issue, but it could be for plenty of situations. Sent from my iPhone > On Jul 16, 2017, at 11:42

[ANN] This Week in LiveCode 91

2017-07-17 Thread panagiotis merakos via use-livecode
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 #91 here: https://goo.gl/kWftcT This is a weekly newsletter about LiveCode, focussing on what's been going on in and around t

Livecode server, timeout and processes

2017-07-17 Thread jbv via use-livecode
Hello forum A few days ago I ran into a severe problem with livecode server. A subtil and unexpected change in the way one of my clients inputs data via his app caused an endless loop to appear in one of the LC scripts on the server, which lead to a 504 Gateway Timeout error. As this script is cal

Re: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Mark Waddingham via use-livecode
On 2017-07-17 11:05, panagiotis merakos via use-livecode wrote: @Hermann I am not sure if "{}" were left out on purpose or not, I'll ask Monte. However, if you want to add them, you have to: On Purpose. '{' is not a valid LCS bracket - so it shouldn't be appear outside of strings. Similarly

Re: intersect . . . invisible images

2017-07-17 Thread Richmond Mathewson via use-livecode
That's very powerful imagery; Thanks. Richmond. On 7/17/17 1:26 pm, Roger Eller via use-livecode wrote: On Jul 14, 2017 6:01 AM, "Richmond Mathewson via use-livecode" < use-livecode@lists.runrev.com> wrote: It does seem illogical that while one can set levels of transparency with interset an

Re: intersect . . . invisible images

2017-07-17 Thread Roger Eller via use-livecode
On Jul 14, 2017 6:01 AM, "Richmond Mathewson via use-livecode" < use-livecode@lists.runrev.com> wrote: > > It does seem illogical that while one can set levels of transparency with interset > an image can continue intersecting with another when it is, supposedly, invisible . . . > > Certainly, havi

Re: intersect . . . invisible images

2017-07-17 Thread Richmond Mathewson via use-livecode
Thank you very much indeed: although I will NOT show that to the teenagers here. Richmond. On 7/17/17 12:13 pm, Lagi Pittas via use-livecode wrote: Hi, I Didn't laugh or smile at that (not because it wasn't funny) but because it didn't have the same effect as when as a teenager I first heard

Re: intersect . . . invisible images

2017-07-17 Thread Lagi Pittas via use-livecode
Hi, I Didn't laugh or smile at that (not because it wasn't funny) but because it didn't have the same effect as when as a teenager I first heard it on the Parkinson show in the mid 70s from Billy Connolly. I just went onto youtube and guess what I still laughed at the original which is very diff

Re: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread panagiotis merakos via use-livecode
@Hermann I am not sure if "{}" were left out on purpose or not, I'll ask Monte. However, if you want to add them, you have to: 0. Open the script of an object (needed for loading the SE behaviors 1. Type in the msg box: edit the script of stack "com.livecode.scripteditor.behavior.editorcommon" a

Re: intersect . . . invisible images

2017-07-17 Thread Richmond Mathewson via use-livecode
You have NOTHING to apologise for: I never thought the jokes were against me (which they weren't); although, to be honest, I only wear 2 socks when I'm wearing my kilt, although, right now, as it is high summer here in Bulgaria, I am wearing my kilt with NO socks, just a pair of open-toed sanda

Re: intersect . . . invisible images

2017-07-17 Thread hh via use-livecode
> Richmond M. wrote: > That's because Richmond doesn't share your sense of humour, > and never really could understand North American jokes . . . As I read this thread (as a non-native speaker), none of the jokes was against you as person. And mine was based on a very old forum thread connected to

Re: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Richmond Mathewson via use-livecode
Not universally popular: http://forums.livecode.com/viewtopic.php?f=8&t=29505 Mayhap it could be made an option adjustable in the Script Editor section of the Preferences? Richmond. On 7/17/17 10:59 am, hh via use-livecode wrote: Panos M. wrote: Script Editor: Support for auto completion o

Re: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread hh via use-livecode
> Panos M. wrote: > Script Editor: Support for auto completion of square bracket `[`, > parenthesis `(` or double quote `"` is now added. After writing a long script I really like this feature and miss it already in LC 8.1.6. I wonder what's the reason to leave out braces "{}" (may be needed for

Re: intersect . . . invisible images

2017-07-17 Thread Richmond Mathewson via use-livecode
That's because Richmond doesn't share your sense of humour, and never really could understand North American jokes . . . R. On 7/17/17 10:40 am, hh via use-livecode wrote: JLG wrote: Has anyone noticed that since we hijacked this thread, Richmond has disappeared? He has the lost sock, because

Re: intersect . . . invisible images

2017-07-17 Thread hh via use-livecode
> JLG wrote: > Has anyone noticed that since we hijacked this thread, Richmond has > disappeared? He has the lost sock, because men wearing kilts have three woollen socks. (Sorry, if you laugh now, one minute later, you are wrong. They simply have a spare sock with them, just like a good car has