Re: Script editor chops "end handler" to "nd handler"

2017-01-27 Thread Sannyasin Brahmanathaswami via use-livecode
FWIW:

http://quality.livecode.com/show_bug.cgi?id=19145



 

On 1/27/17, 4:46 AM, "use-livecode on behalf of panagiotis merakos via 
use-livecode"  wrote:

Hi guys,

Thanks for spending time on this. Indeed, I can now replicate this bug. As
you said, it happens only if the code is not indented. Thus, make sure you
press "Tab" key before editing your un-indented script. I will update the
bug report.

Best,
Panos

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Script editor chops "end handler" to "nd handler"

2017-01-27 Thread Ralph DiMola via use-livecode
I've fixed some weird script problems by copying the entire script to the
clipboard, Deleting the script., Clicking on "Apply", Paste the entire
script back in from the clipboard and then hitting "Apply" again. I did not
need to save in a text editor to remove formatting. I found that the key was
to click "Apply" when the script was empty after deleting it to reset
things.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Bob Sneidar via use-livecode
Sent: Friday, January 27, 2017 10:47 AM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Script editor chops "end handler" to "nd handler"

Also, as it began with 8, try copy/pasting the ENTIRE SCRIPT (not just the
handler) into a text editor that has the ability to remove all formatting.
Do so, then copy/paste the text back into your script. I have seen this
resolve certain issues before. 

Bob S



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Script editor chops "end handler" to "nd handler"

2017-01-27 Thread Bob Sneidar via use-livecode
Also, as it began with 8, try copy/pasting the ENTIRE SCRIPT (not just the 
handler) into a text editor that has the ability to remove all formatting. Do 
so, then copy/paste the text back into your script. I have seen this resolve 
certain issues before. 

Bob S



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



Re: Script editor chops "end handler" to "nd handler"

2017-01-27 Thread Bob Sneidar via use-livecode
I tried it with and without indent. No problems either case. 8.1.2 OS X

Bob S


On Jan 27, 2017, at 01:26 , Ralf Bitter via use-livecode 
> wrote:

I can replicate this behavior, but it
only happens in case the code is
not indented.

Mac Sierra LC 8.1.3-rc-1

Ralf

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Script editor chops "end handler" to "nd handler"

2017-01-27 Thread Bob Sneidar via use-livecode
Just pasted the last snippet into a button and had no problems. 8.1.2

Bob S


On Jan 26, 2017, at 22:23 , Sannyasin Brahmanathaswami via use-livecode 
> wrote:

on closeStack
if the environment is "mobile" then
scroller_Delete "scrolling lesson field" # not actually used
end if
pass closeStack
end closeStack   # Ok put your cursor right here immediately after closestack 
and hit return and we get this

on closeStack
if the environment is "mobile" then
scroller_Delete "scrolling lesson field" # not actually used
end if
pass closeStack
nd closeStack
# cursor is here now. but the word "end" above has become "nd"

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Script editor chops "end handler" to "nd handler"

2017-01-27 Thread panagiotis merakos via use-livecode
Hi guys,

Thanks for spending time on this. Indeed, I can now replicate this bug. As
you said, it happens only if the code is not indented. Thus, make sure you
press "Tab" key before editing your un-indented script. I will update the
bug report.

Best,
Panos
--

On Fri, Jan 27, 2017 at 2:41 PM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I cannot confirm this, it's even more:
> "en" is chopped.
>
> [Also, sometimes: When hitting immediately after that the backspace key a
> zero appears.]
>
> This is only with code that is not "beautified" (all lines begin at left).
> I tried my own, not your demo.
>
> [I had also _sometimes_ similar chopping when I opened in LC 8/9 a 6.7.11
> script, *without* any edit.]
>
> MacOS 10.12.3 - LC 8.1.3rc1 AND LC 9.0.0dp4
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Script editor chops "end handler" to "nd handler"

2017-01-27 Thread hh via use-livecode
I cannot confirm this, it's even more:
"en" is chopped.

[Also, sometimes: When hitting immediately after that the backspace key a zero 
appears.]

This is only with code that is not "beautified" (all lines begin at left). I 
tried my own, not your demo.

[I had also _sometimes_ similar chopping when I opened in LC 8/9 a 6.7.11 
script, *without* any edit.]

MacOS 10.12.3 - LC 8.1.3rc1 AND LC 9.0.0dp4


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Script editor chops "end handler" to "nd handler"

2017-01-27 Thread Ralf Bitter via use-livecode
I can replicate this behavior, but it
only happens in case the code is
not indented.

Mac Sierra LC 8.1.3-rc-1

Ralf


> On 27 Jan 2017, at 07:23, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> I have a bug report on this but HQ says they cannot replicate it.
> 
> Today I think I have a definitive recipe. Can you try and confirm?
> 
> Symptom:
> 
> the "e" at the beginning of the last line end of handlers is getting chopped 
> off
> 
> on closeStack
> if the environment is "mobile" then
> scroller_Delete "scrolling lesson field" # not actually used
> end if
> pass closeStack
> end closeStack   # Ok put your cursor right here immediately after closestack 
> and hit return and we get this
> 
> on closeStack
> if the environment is "mobile" then
> scroller_Delete "scrolling lesson field" # not actually used
> end if
> pass closeStack
> nd closeStack
> # cursor is here now. but the word "end" above has become "nd"
> 
> first seen in 8*  (I think)  and persists in 8.1.3
> 
> 
> Can anyone else replicate this? (mac Sierre lc 8*
> 
> BR


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode