Delete word now deletes spaces? LiveCode 7
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 10
- Joined: Tue Dec 05, 2006 11:48 pm
Delete word now deletes spaces? LiveCode 7
I haven't been doing much coding for quite some time, but was just trying to improve on an old stack I'd built, and it appears that LiveCode 7 now removes the spaces when deleting a word in a sentence. Such that in a field "sisters," which contains the expression, "I have two sisters," the command "Delete word 3 of field "sisters"" renders "I havesisters." I can't think this is correct behavior, but that is what I'm getting, and it took some time to figure out why my trusty handler of yesteryear was now failing so miserably.
So... is this the new behavior, a bug, or ... what?
Thanks,
Mark
So... is this the new behavior, a bug, or ... what?
Thanks,
Mark
-
- Livecode Opensource Backer
- Posts: 10
- Joined: Tue Dec 05, 2006 11:48 pm
Re: Delete word now deletes spaces? LiveCode 7
I worked around the issue by changing "delete word 3" to "put empty into word 3," but I still don't understand how deleting a word removes both preceding and trailng spaces.
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Delete word now deletes spaces? LiveCode 7
If that recipe is repeatable please file a big report.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Livecode Opensource Backer
- Posts: 10
- Joined: Tue Dec 05, 2006 11:48 pm
Re: Delete word now deletes spaces? LiveCode 7
Yes, I just confirmed it again, just to be sure. I'll include the recipe here, and file a bug report.
In LiveCode 7.0.0, MacBook Pro, MacOS 10.9.4
Create a new main stack
Place a field on card 1
Place a button on card 1
In the field type: "I have two sisters."
In the button script type: Delete word 3 of field 1
Result: I havesisters.
In LiveCode 7.0.0, MacBook Pro, MacOS 10.9.4
Create a new main stack
Place a field on card 1
Place a button on card 1
In the field type: "I have two sisters."
In the button script type: Delete word 3 of field 1
Result: I havesisters.
-
- Livecode Opensource Backer
- Posts: 10
- Joined: Tue Dec 05, 2006 11:48 pm
Re: Delete word now deletes spaces? LiveCode 7
Bug ID 13550
-
- Livecode Opensource Backer
- Posts: 10
- Joined: Tue Dec 05, 2006 11:48 pm
Re: Delete word now deletes spaces? LiveCode 7
Has been confirmed.
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Delete word now deletes spaces? LiveCode 7
Thanks for filing the report, Mark, and for noting the report number here so we can follow its progress.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn