Positioning letters in Script editor

Discussions about Java virtual machine, installation, and running

Moderator: Moderators

Positioning letters in Script editor

Postby dirk.ricken@in-tech.com » Wed Jan 04, 2023 5:16 am

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 ?
dirk.ricken@in-tech.com
Forum Newbie
Forum Newbie
 
Posts: 1
Posts Rating:1
Joined: Thu Dec 22, 2022 9:51 am

Re: Positioning letters in Script editor

Postby buddy.robbins@linquest.com » Wed Jan 25, 2023 4:57 pm

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.
buddy.robbins@linquest.com
Forum Newbie
Forum Newbie
 
Posts: 8
Posts Rating:1
Joined: Fri Jul 23, 2021 11:14 am

Re: Positioning letters in Script editor

Postby marinetteman@gmail.com » Wed Jun 21, 2023 10:52 am

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.
You do not have the required permissions to view the files attached to this post.
marinetteman@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 3
Posts Rating:0
Joined: Mon Aug 23, 2021 7:51 am


Return to Installing and running

Who is online

Users browsing this forum: No registered users and 2 guests