Page 1 of 1

Positioning letters in Script editor

PostPosted: Wed Jan 04, 2023 5:16 am
by dirk.ricken@in-tech.com
Hi,

when I'm using the script editor and using the del/backspace and continue writing, the new text is mixed and on the wrong position. Has anyone seen such behavior ?

Re: Positioning letters in Script editor

PostPosted: Wed Jan 25, 2023 4:57 pm
by buddy.robbins@linquest.com
Yes, it gets to the point where it's unusable.
I do my development in Notepad++ and create the macro's pointing to the file.
Edit, save, and from Cameo, run.
Once it's stable, you can load it into the model.
Notepad++ is very pretty, does collapsing and highlights keywords.

Re: Positioning letters in Script editor

PostPosted: Wed Jun 21, 2023 10:52 am
by marinetteman@gmail.com
Screenshot 2023-06-21 113515.png


It's pretty unusable. It must be clear that the issue persists in the current CAMEO clients since 17.5 to 2022x latest hotfix. The JIDESOFT Code Editor embedded in the tools is up to date but once the tools editor gets confused, it cannot be fixed.
This code
Code: Select all
try { el= arg1.getSupplierDependency()
}
catch (Exception e ) { }


return arg1.getSupplierDependency()


gets corrupted to
Code: Select all

try { el= rrg1e.getpuplierDependency()
}
catch (Exception e ) { }


return arg1.getSupplierDependency().vn


The problem will persist across shutting down CAMEO and restarting it. (You have to delete the column to fix this) (Note the paratheses is updated to brace. The quality of the expression does not matter.)

Macros can use saved files to fix this, but scripts in the expression editor are doomed.