AceEditor

Ace is an embeddable code editor written in JavaScript. It matches the features and performance of native editors such as Sublime, Vim and TextMate. It can be easily embedded in any web page and JavaScript application. Ace is maintained as the primary editor for Cloud9 IDE and is the successor of the Mozilla Skywriter (Bespin) project.

Features

  • Syntax highlighting for over 110 languages (TextMate/Sublime Text_.tmlanguage_ files can be imported)

  • Over 20 themes (TextMate/Sublime Text .tmtheme files can be imported)

  • Automatic indent and outdent

  • An optional command line

  • Handles huge documents (four million lines seems to be the limit!)

  • Fully customizable key bindings including vim and Emacs modes

  • Search and replace with regular expressions

  • Highlight matching parentheses

  • Toggle between soft tabs and real tabs

  • Displays hidden characters

  • Drag and drop text using the mouse

  • Line wrapping

  • Code folding

  • Multiple cursors and selections

  • Live syntax checker (currently JavaScript/CoffeeScript/CSS/XQuery)

  • Cut, copy, and paste functionality

How to Use

The AceEditor control can be added to a Wisej.NET project using NuGet Package Manager.

Use the Theme and Language properties to customize your AceEditor.

To keep the Text value in sync between the Client and Server while editing, you can specify the AutoUpdateDelay (in milliseconds). If it´s set to 0, the Text property is updated when the focus leaves the AceEditor instance.

Last updated