How to update coronaAPIs?

Hi,

How can i update the coronaAPIs used in Glider to reflect the latest changes introduced in Grapics2.0.

For example, when using autocomplete, ‘anchorX’ and ‘anchorY’ are not available. Also, ‘setReferencePoint’ is deprecated but still shows in Glider autocomplete and when used is not marked as ‘error’. 

Thanks

Never mind,

I found a partial solution.

To update the api i went to: tools --> options --> editor --> api sources

I then selected the coronalabs api url and clicked ‘refresh selected’.

However, the deprecated methods still appear and when used are not marked as an ‘error’.

As i said, partial solution.

Hello Mazrabul,

Yes that is a partial solution, it only updates the websearch index. We will work on getting the stubs updated by next week. Unfortunately the Corona API has changed significantly since we created the stub files so we will need to update them. If you ctrl-click on a library function it will take you to the stub file and if you change the contents of the file it will also update the autocompletion database.

Regards,

M.Y. Developers

Never mind,

I found a partial solution.

To update the api i went to: tools --> options --> editor --> api sources

I then selected the coronalabs api url and clicked ‘refresh selected’.

However, the deprecated methods still appear and when used are not marked as an ‘error’.

As i said, partial solution.

Hello Mazrabul,

Yes that is a partial solution, it only updates the websearch index. We will work on getting the stubs updated by next week. Unfortunately the Corona API has changed significantly since we created the stub files so we will need to update them. If you ctrl-click on a library function it will take you to the stub file and if you change the contents of the file it will also update the autocompletion database.

Regards,

M.Y. Developers