I'm now getting this image of Colin, (ever so slightly slurred and blurred)...
"Waiter, another bottle of the Château La Code àpres-ligne 4.6.3 - this
one is definitely corked!"
:-)
On 15 Aug 2011, at 02:30, J. Landman Gay wrote:
> On 8/14/11 5:42 PM, Colin Holgate wrote:
>
>> The problem ca
...just imagining the (slightly slurred and blurred) scene...
"Waiter, another bottle of the Château LC àpres-ligne 4.6.3 - this one
is corked!"
So, maybe it's not a bug - merely the after effects of the illicit substance
you are eating with the wine. You know... the, ahem... fromage ;-)
Best
On 8/14/11 5:42 PM, Colin Holgate wrote:
The problem case in 4.6.3 seems to be that if you put something after
a line, it's smart enough to realize you mean the new text is to be
before the return character. With put text after selectedline the
text goes after all the contents of the line, which
Cork? Must be that wine I'm drinking...
On Aug 14, 2011, at 6:42 PM, Colin Holgate wrote:
> It needs to cork when there is no selection.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and man
It needs to cork when there is no selection. Imagine you're working with an
editable field, and want to know what is selected when nothing is selected. It
would be a problem if in that one case it gave an error. Maybe that's why it
was fixed in 4.6.3.
The problem case in 4.6.3 seems to be that
-Original Message-
From: J. Landman Gay
To: How to use LiveCode
Sent: Sun, Aug 14, 2011 1:41 pm
Subject: Re: referring to object names stored in variables
On 8/14/11 4:08 PM, Colin Holgate wrote:
> I'm glad you saw the same behavior I saw, and don't have a special
> ver
On 8/14/11 4:08 PM, Colin Holgate wrote:
I'm glad you saw the same behavior I saw, and don't have a special
version of liveCode like Jacque.
I see. My "special version" was 4.6.2, since I had a lot of other work
open in 4.6.3 when I tested. Apparently something changed. In 4.6.2 I
get "no ta
I can't remember if I ever used the selectedline instead of the clickline, but
it makes sense. When you look at the selectedchunk on a locked field it shows
as char n to n-1 of line l of field f, so the selected items do know the line
you clicked on.
I'm glad you saw the same behavior I saw, an
I don't know how you managed to copy and paste it and it not still work. Yes,
if you make it list behavior it does go in the line you would expect, but for a
regular field, the script works, and the text goes in front of the following
line.
Here's a screen recording, having just copied my scrip
the selectedLine in a locked field that has no selection? Is this
implied as the clickLine? Never knew that...
Craig
-Original Message-
From: Colin Holgate
To: How to use LiveCode
Sent: Sun, Aug 14, 2011 11:14 am
Subject: Re: referring to object names stored in variables
That wasn
On 8/14/11 2:13 PM, Colin Holgate wrote:
That wasn't what I had referred to. Lock the text of your field, and try this
script:
on mouseup
put "bla" after the selectedline
end mouseup
then click on line 1. Where does the text appear?
The handler errors unless listbehavior is set. But onc
That wasn't what I had referred to. Lock the text of your field, and try this
script:
on mouseup
put "bla" after the selectedline
end mouseup
then click on line 1. Where does the text appear?
On Aug 14, 2011, at 1:25 PM, J. Landman Gay wrote:
> From the message box: put "blah" after line
On 8/14/11 10:09 AM, Colin Holgate wrote:
There is a small oddity in that if you put something after a line of
a field, the text you put there appears at the start of the next
line, unless it was the last line of the field, in which case it goes
at the end of the text.
I don't see that behavior
There is a small oddity in that if you put something after a line of a field,
the text you put there appears at the start of the next line, unless it was the
last line of the field, in which case it goes at the end of the text.
When you said you wanted to put "blabla" after the line, did you wan
Hi Mark, Hi Peter
I thought of parsing the content of the variable, but wanted to find the
function or the LiveCode keyword that would do that for me. That function might
not exist. So, for the moment I store just the numbers and "glue" the reference
together in the script as you suggested.
Tha
On Aug 14, 2011, at 8:51 AM, Mark Schonewille wrote:
> Thomas,
>
> Try this:
>
> put "blabla" after line (word 2 of the L_Line of field 1) of field 1
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twit
Thomas,
Try this:
put "blabla" after line (word 2 of the L_Line of field 1) of field 1
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
What does that error mean?
17 matches
Mail list logo