Best method to make code editor in JavaScript

1

I'm creating a JavaScript plugin to create HTML games. I'm creating GML-based functions to appeal to users who use this language. Such functions are named object_create() , instance_create() , and so on. The plugin would run hidden and I will create an interface for the user to work only with GML and create the rooms visually.

My question would be about the code editor. What would be the best way to make a GML editor that highlights all the functions created in the plugin, as well as constants and etc?

    
asked by anonymous 31.10.2014 / 14:24

0 answers