some kind of bug in script editor, character vanishes

Want to talk about something that isn't covered by another category?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

some kind of bug in script editor, character vanishes

Post by sphere » Mon Sep 07, 2015 9:25 am

Hi, anyone noticed this:

When i want to insert a new line of script and my cursor is at the end of the line and i hit Return (not the Enter of the numpad).
before return.PNG
before return.PNG (1.3 KiB) Viewed 7209 times
Then the first character of that line is vanished.
after return.PNG
after return.PNG (1.48 KiB) Viewed 7209 times
Saving the script will cause a fault or unwanted behaviour.
This is on Win7. and LC7.06 but i had it also on other version and on different machines.
Can anyone confirm?

Sphere

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Location: Plymouth, UK
Contact:

Re: some kind of bug in script editor, character vanishes

Post by dave.kilroy » Mon Sep 07, 2015 12:53 pm

Hi sphere - just tried LC 7.0.6, 7.1(rc1) and 8.0(db4) on Yosemite and experienced nothing wonky...

Dave
"...this is not the code you are looking for..."

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: some kind of bug in script editor, character vanishes

Post by sphere » Mon Sep 07, 2015 2:01 pm

Hi Dave,

thanks for checking.
Maybe it's something strange in the stack or so.

really weird.

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Location: Plymouth, UK
Contact:

Re: some kind of bug in script editor, character vanishes

Post by dave.kilroy » Mon Sep 07, 2015 2:08 pm

Sphere - the script editor CAN go wonky all on its own - about a year ago there was a patch when it couldn't place the cursor correctly and was always about 4 chars out...
"...this is not the code you are looking for..."

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: some kind of bug in script editor, character vanishes

Post by sphere » Mon Sep 07, 2015 6:27 pm

ok that's really strange.
Strange thing is it's not always.

i will check if i have it on more scripts and if so maybe file a bug, but they have to be able to reproduce of course.

thanks.

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Location: Plymouth, UK
Contact:

Re: some kind of bug in script editor, character vanishes

Post by dave.kilroy » Mon Sep 07, 2015 6:36 pm

thinking about it - what I discovered from when it went wonky about a year ago is that (at that time) it didn't like certain fonts in the script editor - I changed the font and it was fine - then so many months later I changed back to my custom font and no problems since then

I'm now going to ask you teaching-granny-to-suck-eggs questions for which I apologise - have you closed and re-opened LiveCode? have you tried disabling all plugins? do you get the same behaviour on different machines? on different platforms? could you have a bad install of LiveCode? have you rebooted your machine?

EDIT: actually I've just found what I think is a bug in versions after 7.0.6 so I also have to find a recipe before reporting it...
"...this is not the code you are looking for..."

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: some kind of bug in script editor, character vanishes

Post by sphere » Mon Sep 07, 2015 7:19 pm

Different windows machines : yes
Different platforms : no
OPened closed livecode: yes
rebooted pc : yes
Plugins disabled : not yet (don't know if i use any automatically)

Now at home i noticed the same issue with the vanishing character on the same stack

viro
Posts: 52
Joined: Fri Jul 05, 2013 6:59 pm
Location: Germany, Hesse

Re: some kind of bug in script editor, character vanishes

Post by viro » Tue Sep 08, 2015 7:33 pm

hi there.
from time to time I experience similar problems.
errors exited in win 7 x64 and win 10 x64(current)
I'd say every version of lc after 6.5 I experienced following problems:

1. can't scroll with mouse wheel in script editor. - works after ctrl+s
2. when pasting from clipboard strange signs do appear. can't apply changes to script.
3. can't focus stack from active script editor (multiple clicks get it working)
4. when typing in propert inspector chars are deleted immediately after appearing in field (name/label)

this are no permanent problems (though merely a day passes without having one of those issues)
sometimes I believe that the stack file itself is carrying issues (not the code)

never stumbled over those issues while comparing various

best regards
viro
the funniest thing about this particular signature is that by the time you realize it doesn't say anything it's too late to stop reading it

golive
Posts: 98
Joined: Wed Jul 01, 2015 5:16 am

Re: some kind of bug in script editor, character vanishes

Post by golive » Wed Sep 09, 2015 1:46 am

viro wrote: 2. when pasting from clipboard strange signs do appear. can't apply changes to script.
I have seen this.
I delete the strange sign and paste again. Then it works!

Post Reply

Return to “Off-Topic”