mercredi 14 décembre 2016

Simple autocomplete with Ace Editor in AS3?

I'm working in XML and I'd like to provide autocomplete suggestions for the attributes for specific node types using AS3.

For example, if the user is has a cursor in the following node:

 <s:Button label="Hello World"/>

I'd like autocomplete to show "width, height, x, y".

I'm trying to get the node name and namespace and then give the editor a list of attributes that should appear in autocomplete.

I found similar questions but those are using a service call and a few that are out dated. I may delete this question if it is a duplicate.

Ace Editor for AS3 here.

Aucun commentaire:

Enregistrer un commentaire