Page 1 of 1

some kind of bug in script editor, character vanishes

Posted: Mon Sep 07, 2015 9:25 am
by sphere
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 8748 times
Then the first character of that line is vanished.
after return.PNG
after return.PNG (1.48 KiB) Viewed 8748 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

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

Posted: Mon Sep 07, 2015 12:53 pm
by dave.kilroy
Hi sphere - just tried LC 7.0.6, 7.1(rc1) and 8.0(db4) on Yosemite and experienced nothing wonky...

Dave

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

Posted: Mon Sep 07, 2015 2:01 pm
by sphere
Hi Dave,

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

really weird.

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

Posted: Mon Sep 07, 2015 2:08 pm
by dave.kilroy
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...

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

Posted: Mon Sep 07, 2015 6:27 pm
by sphere
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.

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

Posted: Mon Sep 07, 2015 6:36 pm
by dave.kilroy
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...

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

Posted: Mon Sep 07, 2015 7:19 pm
by sphere
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

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

Posted: Tue Sep 08, 2015 7:33 pm
by viro
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

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

Posted: Wed Sep 09, 2015 1:46 am
by golive
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!