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
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
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
> 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
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
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
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
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
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
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?
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
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
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
> 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
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
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
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
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
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
___
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.
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
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
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
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
> 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
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
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
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
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
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
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
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
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
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
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
@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
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
> 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
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
> 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
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
> 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
42 matches
Mail list logo