Copyleft Games

Editor footer toolbar

Currently we have no way to display or change the highlight mode or tab width. We should have this via a toolbar just below the text editor box.

Add a toolbar for selecting highlight mode and tab size, using the simple javascript functions documented at to complete the action on the current tab.

Highlight mode:

Tab width:

As in the above photo tab width selection should offer 2, 4, and 8 spaces plus an option for "Use Spaces" (which should default to TRUE and change the soft tabs option).

Submit your .js file and modified along with the necessary changes to templates/editor.xslt (see ).

Task tags

  • javascript
  • ace

Students who completed this task


Task type

  • code Code
  • assessment Outreach / Research