Code Editing

The code window replaces the main central canvas area whenever a script resource is selected in the world tree. The code window uses an implementation of Scintilla and has the following features:

  • Syntax highlighting for a number of different languages including JavaScript, HTML, XML, CSS, LUA and many other languages.
  • Code folding – Sections of code can folded and unfolded
  • Line numbering
  • Find and replace
  • Go to line
  • Auto complete
  • Auto reload of script files modified outside the editor when the script file is reselected
  • Undo / redo
  • Zoom

Note that once the code editor view is active it will remain active until you click on a none script resource in the world tree.

The code view looks as follows:

Booty5 HTML5 code editor

Booty5 HTML5 code editor

Next topic:


5,612 total views, 2 views today