Search code examples
processingace-editor

Ace editor Processing mode?


I uploaded a processing file to github. I want to show the code on my website. So I implement ACE editor in my site and ajaxed my proecessing code to the ace editor. But there is a problem.

I want the code showed on my look as the code show in Processing IDE. But Ace editor support java language but no mode for processing. How can I solve this problem ? I could not find any package for Ace processing mode.


Solution

  • http://hello.processing.org/editor/ uses Ace, and it have a mode for processing see http://hello.processing.org/js/vendor/ace/mode-processing.js