Ace is a embeddable code editor written in JavaScript.
+ It matches and extends the features, usability and performance of existing
+ native editors such as TextMate, Vim or Eclipse. 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.
Work with huge documents (1,000,000+ lines are no problem)
+
Fully customizable key bindings including VI and Emacs modes
+
Themes (TextMate themes can be imported)
+
Search and replace with regular expressions
+
Highlight matching parentheses
+
Toggle between soft tabs and real tabs
+
Displays hidden characters
+
Highlight selected word
+
+
History
+
+
Previously known as “Bespin” or lately “Skywriter” it’s now
+ known as Ace (Ajax.org Cloud9 Editor)! Bespin and Ace started
+ as two independent projects both aiming to build a no compromise
+ code editor component for the web. Bespin started as part of
+ Mozilla Labs and was based on the <canvas> tag, while Ace is
+ the Editor component of the Cloud9 IDE
+ and is using the DOM for rendering. After the release of Ace at
+ JSConf.eu 2010
+ in Berlin the Skywriter team decided to merge Ace with a simplified
+ version of Skywriter's plugin system and some of Skywriter's
+ extensibility points. All these changes have been merged back to Ace
+ now, which supersedes Skywriter. Both Cloud9 IDE
+ and Mozilla are actively developing and
+ maintaining Ace.
Ace is a community project. We actively encourage and support
+ contributions. The Ace source code is hosted on GitHub.
+ Ace is a community project released under the BSD license ‐
+ very simple andis friendly to all kinds of projects, whether OSS
+ or not. We actively encourage and support contributions.
+ Take charge of your editor and add your favorite language highlighting and keybindings!
+
git clone git://github.com/ajaxorg/ace.git
+
+
+
Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.
+
+
+
Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.
+
+
+
Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.
+
+
+
Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater. Lomo wolf viral, mustache readymade thundercats keffiyeh craft beer marfa ethical. Wolf salvia freegan, sartorial keffiyeh echo park vegan.
+
+
+
Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater. Lomo wolf viral, mustache readymade thundercats keffiyeh craft beer marfa ethical. Wolf salvia freegan, sartorial keffiyeh echo park vegan.
Ace is a embeddable code editor written in JavaScript.
It matches and extends the features, usability and performance of existing
- native editors such as TextMate, Vim or Eclipse. It can be easily embedded
+ native editors such as Sublime, Vim or 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.
Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.
-
Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater. Lomo wolf viral, mustache readymade thundercats keffiyeh craft beer marfa ethical. Wolf salvia freegan, sartorial keffiyeh echo park vegan.
Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater. Lomo wolf viral, mustache readymade thundercats keffiyeh craft beer marfa ethical. Wolf salvia freegan, sartorial keffiyeh echo park vegan.
Ace is a community project. We actively encourage and support
+ contributions. The Ace source code is hosted on GitHub.
+ Ace is a community project released under the BSD license ‐
+ very simple andis friendly to all kinds of projects, whether OSS
+ or not. We actively encourage and support contributions.
+ Take charge of your editor and add your favorite language highlighting and keybindings!
+
git clone git://github.com/ajaxorg/ace.git
History
-
Previously known as “Bespin” or lately “Skywriter” it’s now
known as Ace (Ajax.org Cloud9 Editor)! Bespin and Ace started
as two independent projects both aiming to build a no compromise
@@ -90,14 +100,14 @@
and Mozilla are actively developing and
maintaining Ace.
Ace is a community project. We actively encourage and support
- contributions. The Ace source code is hosted on GitHub.
- Ace is a community project released under the BSD license ‐
- very simple andis friendly to all kinds of projects, whether OSS
- or not. We actively encourage and support contributions.
- Take charge of your editor and add your favorite language highlighting and keybindings!
-
git clone git://github.com/ajaxorg/ace.git
-
-
-
Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.
+
ACE can be easily embedded into any existing web page. You can either use one of
+ the pre-packaged versions of ace
+ (just copy one of src* subdirectories somewhere into your project), or
+ use requireJS to load the contents of
+ lib/ace as ace.
+
Also, take a look at the one of the included demos for how to use Ace:
Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.
+
How-To Guide
+
This is a collection of common operations developers typically perform
+ on their ACE instance. In all of these cases ACE has been invoked on an
+ element with the id set to "editor" like so:
+
To change the theme, configure the editor to use the theme using its module name. The theme file will be loaded on demand:
+
+
editor.setTheme("ace/theme/twilight");
+
+
By default, the editor only supports plain text mode. However, all other language modes are available as separate modules. Modes are also loaded on demand, and can be included like this:
+
+
Retrieving Editor States
+
+
Ace keeps all the editor states (selection, scroll position, etc.) in editor.session, which is very useful for making a tabbed editor:
+
+
var EditSession = require("ace/edit_session").EditSession;
+var js = new EditSession("some js code");
+var css = new EditSession(["some", "css", "code here"]);
+// and then to load document into editor, just call
+editor.setSession(js);
+
+
Quickstart
+
To set and get content:`
+
+
editor.setValue("the new text here"); // or session.setValue
+editor.getValue(); // or session.getValue
Ace is a embeddable code editor written in JavaScript.
+
Built for Code
+
ACE is a embeddable code editor written in JavaScript.
It matches and extends the features, usability and performance of existing
native editors such as Sublime, Vim or 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.
+
Using ACE
+
Want ACE on your own site or web app? Check out our embedding
+ guide to get started right away!
The kitchen sink demo
+ allows you to test all ACE features. You can check out the code for the
+ demo on GitHub.
Getting the code
-
Ace is a community project. We actively encourage and support
- contributions. The Ace source code is hosted on GitHub.
- Ace is a community project released under the BSD license ‐
- very simple andis friendly to all kinds of projects, whether OSS
- or not. We actively encourage and support contributions.
- Take charge of your editor and add your favorite language highlighting and keybindings!
+
ACE is a community project. We actively encourage and support
+ contributions! The ACE source code is hosted on GitHub
+ and released under the BSD license ‐
+ very simple and friendly to all kinds of projects, whether OSS
+ or not. Take charge of your editor and add your favorite language
+ highlighting and keybindings!
git clone git://github.com/ajaxorg/ace.git
History
-
Previously known as “Bespin” or lately “Skywriter” it’s now
- known as Ace (Ajax.org Cloud9 Editor)! Bespin and Ace started
+
Skywriter/Bespin and ACE started
as two independent projects both aiming to build a no compromise
code editor component for the web. Bespin started as part of
- Mozilla Labs and was based on the <canvas> tag, while Ace is
- the Editor component of the Cloud9 IDE
- and is using the DOM for rendering. After the release of Ace at
+ Mozilla Labs and was based on the <canvas> tag, while ACE is
+ the Editor component of Cloud9 IDE
+ and uses the DOM for rendering. After the release of ACE at
JSConf.eu 2010
- in Berlin the Skywriter team decided to merge Ace with a simplified
- version of Skywriter's plugin system and some of Skywriter's
- extensibility points. All these changes have been merged back to Ace
+ in Berlin the Skywriter team decided to merge ACE with a simplified
+ version of Skywriter's plugin system and some of Skywriter's
+ extensibility points. All these changes have been merged back to ACE
now, which supersedes Skywriter. Both Cloud9 IDE
and Mozilla are actively developing and
- maintaining Ace.
ACE can be easily embedded into any existing web page. You can either use one of
- the pre-packaged versions of ace
- (just copy one of src* subdirectories somewhere into your project), or
- use requireJS to load the contents of
- lib/ace as ace.
-
Also, take a look at the one of the included demos for how to use Ace:
+
ACE can be easily embedded into a web page. After you
+ test the code below, check out the How-To Guide
+ for more instructions.
Now check out the How-To Guide for instructions on
+ common operations, such as setting a different language mode or
+ getting the contents from the editor.
+
Loading ACE from a Local URL
+
The above code is sufficient to get started, but if you want to clone host ACE locally you can
+ use one of the pre-packaged versions. Just copy
+ one of src* subdirectories somewhere into your project, or use RequireJS to load the
+ contents of lib/ace as ace:
+
var ace = require("lib/ace");
-
How-To Guide
-
This is a collection of common operations developers typically perform
- on their ACE instance. In all of these cases ACE has been invoked on an
- element with the id set to "editor" like so:
-
This is a collection of common operations developers perform on ACE.
+ In all of these cases ACE has been invoked exactly
+ as shown on the embedding guide.
+
Setting Themes
To change the theme, configure the editor to use the theme using its module name. The theme file will be loaded on demand:
editor.setTheme("ace/theme/twilight");
-
-
By default, the editor only supports plain text mode. However, all other language modes are available as separate modules. Modes are also loaded on demand, and can be included like this:
-
-
Retrieving Editor States
-
-
Ace keeps all the editor states (selection, scroll position, etc.) in editor.session, which is very useful for making a tabbed editor:
-
+
+
Setting Other Language Modes
+
By default, the editor supports plain text mode. All other language modes are available as separate modules. Modes are also loaded on demand like this:
var javascriptMode = require("ace/mode/javascript").Mode;
+editor.getSession().setMode(new javascriptMode());
+
+
One Editor, Multiple Sessions
+
ACE keeps everything about the state of the editor (selection, scroll position, etc.)
+ in editor.session. This means you can grab the
+ session, store it in a var, and set the editor to another session (e.g. a tabbed editor).
+
You might accomplish this like so:
+
var EditSession = require("ace/edit_session").EditSession;
var js = new EditSession("some js code");
var css = new EditSession(["some", "css", "code here"]);
// and then to load document into editor, just call
editor.setSession(js);
-
Quickstart
-
To set and get content:`
+
Common Operations
+
Set and get content:`
editor.setValue("the new text here"); // or session.setValue
editor.getValue(); // or session.getValue
Required. Either the id of an element, or the element itself
-
-
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/api/anchor.html b/api/anchor.html
index 60b23109..2a57d4d0 100644
--- a/api/anchor.html
+++ b/api/anchor.html
@@ -1,14 +1,14 @@
- Anchor - Ace API
Required. Identifies if you want the position to be clipped
-
-
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/api/background_tokenizer.html b/api/background_tokenizer.html
index 56587186..4f5936e0 100644
--- a/api/background_tokenizer.html
+++ b/api/background_tokenizer.html
@@ -1,40 +1,33 @@
- BackgroundTokenizer - Ace API
Tokenizes the current Document in the background, and caches the tokenized rows for future use. If a certain row is changed, everything below that row is re-tokenized.
Tokenizes the current Document in the background, and caches the tokenized rows for future use. If a certain row is changed, everything below that row is re-tokenized.
\ No newline at end of file
diff --git a/api/command_manager.html b/api/command_manager.html
index 660d81d9..5f54b975 100644
--- a/api/command_manager.html
+++ b/api/command_manager.html
@@ -1,15 +1,8 @@
- CommandManager - Ace API
\ No newline at end of file
diff --git a/api/document.html b/api/document.html
index 696bb268..192f41dc 100644
--- a/api/document.html
+++ b/api/document.html
@@ -1,12 +1,12 @@
- Document - Ace API
Contains the text of the document. Document can be attached to several EditSessions. At its core, Documents are just an array of strings, with each row in the document matching up to the array index.
Contains the text of the document. Document can be attached to several EditSessions. At its core, Documents are just an array of strings, with each row in the document matching up to the array index.
Required. Contains at least one property called "action". "action" indicates the action that triggered the change. Each action also has a set of additional properties.
The position of the last line of text. If the length of text is 0, this function simply returns position. Inserts a block of text and the indicated position.
Returns an object containing the final row and column, like this: {row: endRow, column: 0} If lines is empty, this function returns an object containing the current row, and column, like this: {row: row, column: 0}
Returns the new start property of the range, which contains startRow and startColumn. If range is empty, this function returns the unmodified value of range.start.
Returns the new start property of the range, which contains startRow and startColumn. If range is empty, this function returns the unmodified value of range.start.
Returns an object containing startRow and startColumn, indicating the new row and column values. If startColumn is equal to endColumn, this function returns nothing.
Document.removeLines(Number firstRow, Number lastRow)
Returns an object containing startRow and startColumn, indicating the new row and column values. If startColumn is equal to endColumn, this function returns nothing.
+
Document.removeLines(Number firstRow, Number lastRow)
Returns an object containing the final row and column, like this: {row: endRow, column: 0} If the text and range are empty, this function returns an object containing the current range.start value. If the text is the exact same as what currently exists, this function returns an object containing the current range.end value.
Document.revertDeltas(deltas)
Void
Reverts any changes previously applied. These can be either 'includeText', 'insertLines', 'removeText', and 'removeLines'.
-
Reverts any changes previously applied. These can be either 'includeText', 'insertLines', 'removeText', and 'removeLines'.
\ No newline at end of file
diff --git a/api/edit_session.html b/api/edit_session.html
index ef427e89..529d0360 100644
--- a/api/edit_session.html
+++ b/api/edit_session.html
@@ -1,289 +1,309 @@
- EditSession - Ace API
Stores all the data about Editor state providing easy way to change editors state. EditSession can be attached to only one Document. Same Document can be attached to several EditSessions.
Stores all the data about Editor state providing easy way to change editors state. EditSession can be attached to only one Document. Same Document can be attached to several EditSessions.
Returns an int[] array with two elements: The first position indicates the number of columns for str on screen. The second value contains the position of the document column that this function read until.
Adds a new marker to the given Range. If inFront is true, a front marker is defined, and the 'changeFrontMarker' event fires; otherwise, the 'changeBackMarker' event fires.
-
Adds a new marker to the given Range. If inFront is true, a front marker is defined, and the 'changeFrontMarker' event fires; otherwise, the 'changeBackMarker' event fires.
Adds a new marker to the given Range. If inFront is true, a front marker is defined, and the 'changeFrontMarker' event fires; otherwise, the 'changeBackMarker' event fires.
+
Adds a new marker to the given Range. If inFront is true, a front marker is defined, and the 'changeFrontMarker' event fires; otherwise, the 'changeBackMarker' event fires.
Returns the current value for tabs. If the user is using soft tabs, this will be a series of spaces (defined by getTabSize()); otherwise it's simply '\t'.
-
Returns the current value for tabs. If the user is using soft tabs, this will be a series of spaces (defined by getTabSize()); otherwise it's simply '\t'.
Returns the current value for tabs. If the user is using soft tabs, this will be a series of spaces (defined by getTabSize()); otherwise it's simply '\t'.
+
Returns the current value for tabs. If the user is using soft tabs, this will be a series of spaces (defined by getTabSize()); otherwise it's simply '\t'.
The new range where the text was moved to. Moves a range of text from the given range to the given position. toPosition is an object that looks like this:
EditSession.onReloadTokenizer(e)
Reloads all the tokens on the current session. This function calls BackgroundTokenizer.start () to all the rows; it also emits the 'tokenizerUpdate' event.
-
Reloads all the tokens on the current session. This function calls BackgroundTokenizer.start () to all the rows; it also emits the 'tokenizerUpdate' event.
Moves a range of text from the given range to the given position. toPosition is an object that looks like this:
+
+
EditSession.onReloadTokenizer(e)
Reloads all the tokens on the current session. This function calls BackgroundTokenizer.start () to all the rows; it also emits the 'tokenizerUpdate' event.
+
Reloads all the tokens on the current session. This function calls BackgroundTokenizer.start () to all the rows; it also emits the 'tokenizerUpdate' event.
The new start property of the range, which contains startRow and startColumn. If range is empty, this function returns the unmodified value of range.start.
The new start property of the range, which contains startRow and startColumn. If range is empty, this function returns the unmodified value of range.start.
Removes the marker with the specified ID. If this marker was in front, the 'changeFrontMarker' event is emitted. If the marker was in the back, the 'changeBackMarker' event is emitted.
-
Removes the marker with the specified ID. If this marker was in front, the 'changeFrontMarker' event is emitted. If the marker was in the back, the 'changeBackMarker' event is emitted.
Removes the marker with the specified ID. If this marker was in front, the 'changeFrontMarker' event is emitted. If the marker was in the back, the 'changeBackMarker' event is emitted.
+
Removes the marker with the specified ID. If this marker was in front, the 'changeFrontMarker' event is emitted. If the marker was in the back, the 'changeBackMarker' event is emitted.
Returns an object containing the final row and column, like this: {row: endRow, column: 0} If the text and range are empty, this function returns an object containing the current range.start value. If the text is the exact same as what currently exists, this function returns an object containing the current range.end value.
Converts characters coordinates on the screen to characters coordinates within the document. This takes into account code folding, word wrap, tab size, and any other visual modifications.
-
Converts characters coordinates on the screen to characters coordinates within the document. This takes into account code folding, word wrap, tab size, and any other visual modifications.
Converts characters coordinates on the screen to characters coordinates within the document. This takes into account code folding, word wrap, tab size, and any other visual modifications.
+
Converts characters coordinates on the screen to characters coordinates within the document. This takes into account code folding, word wrap, tab size, and any other visual modifications.
Sets a new text mode for the EditSession. This method also emits the 'changeMode' event. If a BackgroundTokenizer is set, the 'tokenizerUpdate' event is also emitted.
-
Sets a new text mode for the EditSession. This method also emits the 'changeMode' event. If a BackgroundTokenizer is set, the 'tokenizerUpdate' event is also emitted.
Sets a new text mode for the EditSession. This method also emits the 'changeMode' event. If a BackgroundTokenizer is set, the 'tokenizerUpdate' event is also emitted.
+
Sets a new text mode for the EditSession. This method also emits the 'changeMode' event. If a BackgroundTokenizer is set, the 'tokenizerUpdate' event is also emitted.
Pass in true to enable overwrites in your session, or false to disable.
+
Pass in true to enable overwrites in your session, or false to disable.
If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.
Set the number of spaces that define a soft tab; for example, passing in 4 transforms the soft tabs to be equivalent to four spaces. This function also emits the changeTabSize event.
-
Set the number of spaces that define a soft tab; for example, passing in 4 transforms the soft tabs to be equivalent to four spaces. This function also emits the changeTabSize event.
Set the number of spaces that define a soft tab; for example, passing in 4 transforms the soft tabs to be equivalent to four spaces. This function also emits the changeTabSize event.
+
Set the number of spaces that define a soft tab; for example, passing in 4 transforms the soft tabs to be equivalent to four spaces. This function also emits the changeTabSize event.
EditSession.setWrapLimitRange(Number min, Number max)
Sets the boundaries of wrap. Either value can be null to have an unconstrained wrap, or, they can be the same number to pin the limit. If the wrap limits for min or max are different, this method also emits the 'changeWrapMode' event.
-
Sets the boundaries of wrap. Either value can be null to have an unconstrained wrap, or, they can be the same number to pin the limit. If the wrap limits for min or max are different, this method also emits the 'changeWrapMode' event.
+
EditSession.setWrapLimitRange(Number min, Number max)
Sets the boundaries of wrap. Either value can be null to have an unconstrained wrap, or, they can be the same number to pin the limit. If the wrap limits for min or max are different, this method also emits the 'changeWrapMode' event.
+
Sets the boundaries of wrap. Either value can be null to have an unconstrained wrap, or, they can be the same number to pin the limit. If the wrap limits for min or max are different, this method also emits the 'changeWrapMode' event.
Required. If true, doesn't select the range of where the change occured
-
-
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/api/editor.html b/api/editor.html
index dd7bae66..362697c2 100644
--- a/api/editor.html
+++ b/api/editor.html
@@ -1,342 +1,344 @@
- Editor - Ace API
The main entry point into the Ace functionality. The Editor manages the EditSession (which manages Documents), as well as the VirtualRenderer, which draws everything to the screen. Event sessions dealing with the mouse and keyboard are bubbled up from Document to the Editor, which decides what to do with them.
The main entry point into the Ace functionality. The Editor manages the EditSession (which manages Documents), as well as the VirtualRenderer, which draws everything to the screen. Event sessions dealing with the mouse and keyboard are bubbled up from Document to the Editor, which decides what to do with them.
Returns true if the behaviors are currently enabled. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.
-
Returns true if the behaviors are currently enabled. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.
Returns true if the behaviors are currently enabled. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.
+
Returns true if the behaviors are currently enabled. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.
Specifies whether to use behaviors or not. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.
-
Specifies whether to use behaviors or not. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.
+
Editor.selectPageDown()
Selects the text from the current position of the document until where a "page down" finishes.
+
Selects the text from the current position of the document until where a "page down" finishes.
+
Editor.selectPageUp()
Selects the text from the current position of the document until where a "page up" finishes.
+
Selects the text from the current position of the document until where a "page up" finishes.
Specifies whether to use behaviors or not. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.
+
Specifies whether to use behaviors or not. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.
Pass in true to enable overwrites in your session, or false to disable. If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.
-
Pass in true to enable overwrites in your session, or false to disable. If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.
Pass in true to enable overwrites in your session, or false to disable. If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.
+
Pass in true to enable overwrites in your session, or false to disable. If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.
\ No newline at end of file
diff --git a/api/index.html b/api/index.html
index a4e4af82..32e65c8f 100644
--- a/api/index.html
+++ b/api/index.html
@@ -1,14 +1,7 @@
- Ace API
Welcome to the Ace API Reference Guide. Ace is a standalone code editor written in JavaScript that you can embed onto any website. We're used in a bunch of places already, like GitHub, Google, and Facebook.
On the left, you'll find a list of all of our currently documented classes. There are plenty more to do, but these represent the "core" set. For more information on how to work with Ace, check out the main Ace website.
-
-
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/api/placeholder.html b/api/placeholder.html
index 549bb2b6..45e7601e 100644
--- a/api/placeholder.html
+++ b/api/placeholder.html
@@ -1,34 +1,27 @@
- PlaceHolder - Ace API
Hides all over markers in the EditSession that are not the currently selected one.
-
Hides all over markers in the EditSession that are not the currently selected one.
-
PlaceHolder.setup()
TODO
-
TODO
-
PlaceHolder.showOtherMarkers()
TODO
-
TODO
-
-
-
-
-
-
\ No newline at end of file
+
Events
PlaceHolder.on("onCursorChange", function(e))
Emitted when the cursor changes.
+
Emitted when the cursor changes.
+
PlaceHolder.on("onUpdate", function(e))
Emitted when the place holder updates.
+
Emitted when the place holder updates.
+
Methods
PlaceHolder.cancel()
TODO
+
TODO
+
PlaceHolder.detach()
TODO
+
TODO
+
PlaceHolder.hideOtherMarkers()
Hides all over markers in the EditSession that are not the currently selected one.
+
Hides all over markers in the EditSession that are not the currently selected one.
+
PlaceHolder.setup()
TODO
+
TODO
+
PlaceHolder.showOtherMarkers()
TODO
+
TODO
+
\ No newline at end of file
diff --git a/api/range.html b/api/range.html
index af0dbdbe..9ed3122e 100644
--- a/api/range.html
+++ b/api/range.html
@@ -1,107 +1,300 @@
- Range - Ace API
This object is used in various places to indicate a region within the editor. To better visualize how this works, imagine a rectangle. Each quadrant of the rectangle is analogus to a range, as ranges contain a starting row and starting column, and an ending row, and ending column.
This object is used in various places to indicate a region within the editor. To better visualize how this works, imagine a rectangle. Each quadrant of the rectangle is analogus to a range, as ranges contain a starting row and starting column, and an ending row, and ending column.
This method returns one of the following numbers: 0 if the two points are exactly equal -1 if p.row is less then the calling range 1 if p.row is greater than the calling range
If the starting row of the calling range is equal to p.row, and: p.column is greater than or equal to the calling range's starting column, this returns 0 Otherwise, it returns -1
If the ending row of the calling range is equal to p.row, and: p.column is less than or equal to the calling range's ending column, this returns 0 Otherwise, it returns 1
This method returns one of the following numbers: 0 if the two points are exactly equal -1 if p.row is less then the calling range 1 if p.row is greater than the calling range, or if isEnd is true.<br/> <br/> If the starting row of the calling range is equal to p.row, and:<br/> p.column is greater than or equal to the calling range's starting column, this returns 0<br/> Otherwise, it returns -1<br/> <br/> If the ending row of the calling range is equal to p.row, and:<br/> p.column is less than or equal to the calling range's ending column, this returns 0` Otherwise, it returns 1
This method returns one of the following numbers: 1 if the ending row of the calling range is equal to row, and the ending column of the calling range is equal to column -1 if the starting row of the calling range is equal to row, and the starting column of the calling range is equal to column
Otherwise, it returns the value after calling compare().
This method returns one of the following numbers: 0 if the two points are exactly equal -1 if p.row is less then the calling range 1 if p.row is greater than the calling range
If the starting row of the calling range is equal to p.row, and: p.column is greater than or equal to the calling range's starting column, this returns 0 Otherwise, it returns -1
If the ending row of the calling range is equal to p.row, and: p.column is less than or equal to the calling range's ending column, this returns 0 Otherwise, it returns 1
-2: (B) is in front of (A), and doesn't intersect with (A) -1: (B) begins before (A) but ends inside of (A) 0: (B) is completely inside of (A) OR (A) is completely inside of (B) +1: (B) begins inside of (A) but ends outside of (A) +2: (B) is after (A) and doesn't intersect with (A) 42: FTW state: (B) ends in (A) but starts outside of (A)
0 if the two points are exactly equal -1 if p.row is less then the calling range 1 if p.row is greater than the calling range, or if isStart is true.
If the starting row of the calling range is equal to p.row, and: p.column is greater than or equal to the calling range's starting column, this returns 0 Otherwise, it returns -1
If the ending row of the calling range is equal to p.row, and: p.column is less than or equal to the calling range's ending column, this returns 0 Otherwise, it returns 1
Returns a string containing the range's row and column information, given like this:
+
Returns a string containing the range's row and column information, given like this:
[start.row/start.column] -> [end.row/end.column]
-
-
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/api/renderloop.html b/api/renderloop.html
index 45f68085..19626ea2 100644
--- a/api/renderloop.html
+++ b/api/renderloop.html
@@ -1,13 +1,6 @@
- RenderLoop - Ace API
\ No newline at end of file
diff --git a/api/search.html b/api/search.html
index deace184..2e51d956 100644
--- a/api/search.html
+++ b/api/search.html
@@ -1,9 +1,9 @@
- Search - Ace API
Searches for options.needle. If found, this method returns the Range where the text first occurs. If options.backwards is true, the search goes backwards in the session.
-
Searches for options.needle. If found, this method returns the Range where the text first occurs. If options.backwards is true, the search goes backwards in the session.
Searches for options.needle. If found, this method returns the Range where the text first occurs. If options.backwards is true, the search goes backwards in the session.
+
Searches for options.needle. If found, this method returns the Range where the text first occurs. If options.backwards is true, the search goes backwards in the session.
Searches for all occurances options.needle. If found, this method returns an array of Ranges where the text first occurs. If options.backwards is true, the search goes backwards in the session.
-
Searches for all occurances options.needle. If found, this method returns an array of Ranges where the text first occurs. If options.backwards is true, the search goes backwards in the session.
Searches for all occurances options.needle. If found, this method returns an array of Ranges where the text first occurs. If options.backwards is true, the search goes backwards in the session.
+
Searches for all occurances options.needle. If found, this method returns an array of Ranges where the text first occurs. If options.backwards is true, the search goes backwards in the session.
If options.regExp is true, this function returns input with the replacement already made. Otherwise, this function just returns replacement. If options.needle was not found, this function returns null.
Required. An object containing all the new search properties
-
-
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/api/selection.html b/api/selection.html
index 4b24dcac..d045e4e5 100644
--- a/api/selection.html
+++ b/api/selection.html
@@ -1,133 +1,126 @@
- Selection - Ace API
Contains the cursor position and the text selection of an edit session.
The row/columns used in the selection are in document coordinates representing ths coordinates as thez appear in the document before applying soft wrap and folding.
Selection.moveCursorTo(Number row, Number column, Boolean keepDesiredColumn)
Moves the cursor to the row and column provided. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.
-
Moves the cursor to the row and column provided. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.
+
Selection.moveCursorDown()
Moves the cursor down one row.
+
Moves the cursor down one row.
+
Selection.moveCursorFileEnd()
Moves the cursor to the end of the file.
+
Moves the cursor to the end of the file.
+
Selection.moveCursorFileStart()
Moves the cursor to the start of the file.
+
Moves the cursor to the start of the file.
+
Selection.moveCursorLeft()
Moves the cursor left one column.
+
Moves the cursor left one column.
+
Selection.moveCursorLineEnd()
Moves the cursor to the end of the line.
+
Moves the cursor to the end of the line.
+
Selection.moveCursorLineStart()
Moves the cursor to the start of the line.
+
Moves the cursor to the start of the line.
+
Selection.moveCursorLongWordLeft()
Moves the cursor to the word on the left.
+
Moves the cursor to the word on the left.
+
Selection.moveCursorLongWordRight()
Moves the cursor to the word on the right.
+
Moves the cursor to the word on the right.
+
Selection.moveCursorRight()
Moves the cursor right one column.
+
Moves the cursor right one column.
+
Selection.moveCursorTo(Number row, Number column, Boolean keepDesiredColumn)
Moves the cursor to the row and column provided. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.
+
Moves the cursor to the row and column provided. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.
Selection.moveCursorToScreen(Number row, Number column, Boolean keepDesiredColumn)
Moves the cursor to the screen position indicated by row and column. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.
-
Moves the cursor to the screen position indicated by row and column. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.
+
Selection.moveCursorToScreen(Number row, Number column, Boolean keepDesiredColumn)
Moves the cursor to the screen position indicated by row and column. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.
+
Moves the cursor to the screen position indicated by row and column. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.
Required. The position to remove, as a {row, column} object
-
-
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/api/split.html b/api/split.html
index d3d6d206..c9d0ec90 100644
--- a/api/split.html
+++ b/api/split.html
@@ -1,46 +1,39 @@
- Split - Ace API
\ No newline at end of file
diff --git a/api/token_iterator.html b/api/token_iterator.html
index 99d71067..77f2e0f2 100644
--- a/api/token_iterator.html
+++ b/api/token_iterator.html
@@ -1,27 +1,21 @@
- TokenIterator - Ace API
Tokenizes all the items from the current point until the next row in the document. If the current point is at the end of the file, this function returns null. Otherwise, it returns the tokenized string.
-
Tokenizes all the items from the current point until the next row in the document. If the current point is at the end of the file, this function returns null. Otherwise, it returns the tokenized string.
Tokenizes all the items from the current point until the next row in the document. If the current point is at the end of the file, this function returns null. Otherwise, it returns the tokenized string.
+
Tokenizes all the items from the current point until the next row in the document. If the current point is at the end of the file, this function returns null. Otherwise, it returns the tokenized string.
+
\ No newline at end of file
diff --git a/api/tokenizer.html b/api/tokenizer.html
index d7b979cb..7ba61563 100644
--- a/api/tokenizer.html
+++ b/api/tokenizer.html
@@ -1,18 +1,11 @@
- Tokenizer - Ace API
Returns an object containing two properties: tokens, which contains all the tokens; and state, the current state.
+
Returns an object containing two properties: tokens, which contains all the tokens; and state, the current state.
+
\ No newline at end of file
diff --git a/api/undomanager.html b/api/undomanager.html
index aed3394c..340c9d8d 100644
--- a/api/undomanager.html
+++ b/api/undomanager.html
@@ -1,33 +1,26 @@
- UndoManager - Ace API
Required. If true, doesn't select the range of where the change occured
-
-
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/api/virtual_renderer.html b/api/virtual_renderer.html
index e2f92bfc..d2418df0 100644
--- a/api/virtual_renderer.html
+++ b/api/virtual_renderer.html
@@ -1,163 +1,156 @@
- VirtualRenderer - Ace API
Returns the index of the first fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.
-
Returns the index of the first fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.
Returns the index of the last fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.
-
Returns the index of the last fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.
Returns the index of the first fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.
+
Returns the index of the first fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.
Returns the index of the last fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.
+
Returns the index of the last fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.
ACE is a embeddable code editor written in JavaScript.
- It matches and extends the features, usability and performance of existing
- native editors such as Sublime, Vim or TextMate. It can be easily embedded
+
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.
-
Using ACE
-
Want ACE on your own site or web app? Check out our embedding
- guide to get started right away!
-
Features
+
+
/**
+ * In fact, you're looking at ACE right now.
+ *
+ * We are currently showing off the JavaScript mode. ACE has support for 45
+ * language modes and 24 color themes!
+ */
+
+var resultString = "Hello, ACE! The result of your math is: ";
+function add(x, y) {
+ var result = x + y;
+ return resultString + result;
+}
+
+var addResult = add(3, 2);
+console.log(addResult);
The kitchen sink demo
- allows you to test all ACE features. You can check out the code for the
- demo on GitHub.
Getting the code
ACE is a community project. We actively encourage and support
contributions! The ACE source code is hosted on GitHub
@@ -127,8 +141,10 @@
<style type="text/css" media="screen">
#editor {
position: absolute;
- width: 500px;
- height: 400px;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
}
</style>
</head>
@@ -159,15 +175,14 @@
Nearly Everything you Want to do with ACE
-
This is a collection of common operations developers perform on ACE.
- In all of these cases ACE has been invoked exactly
+
In all of these cases ACE has been invoked exactly
as shown on the embedding guide.
Setting Themes
To change the theme, configure the editor to use the theme using its module name. The theme file will be loaded on demand:
editor.setTheme("ace/theme/twilight");
-
Setting Other Language Modes
+
Setting the Programming Language Mode
By default, the editor supports plain text mode. All other language modes are available as separate modules. Modes are also loaded on demand like this:
Required. Either the id of an element, or the element itself
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/api/anchor.html b/api/anchor.html
index 2a57d4d0..f3f25cd1 100644
--- a/api/anchor.html
+++ b/api/anchor.html
@@ -1,10 +1,7 @@
-
-
-
- Anchor - Ace API
Required. Identifies if you want the position to be clipped
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/api/background_tokenizer.html b/api/background_tokenizer.html
index 4f5936e0..8a11bcee 100644
--- a/api/background_tokenizer.html
+++ b/api/background_tokenizer.html
@@ -1,11 +1,8 @@
-
-
-
- BackgroundTokenizer - Ace API
Tokenizes the current Document in the background, and caches the tokenized rows for future use. If a certain row is changed, everything below that row is re-tokenized.
Tokenizes the current Document in the background, and caches the tokenized rows for future use. If a certain row is changed, everything below that row is re-tokenized.
\ No newline at end of file
+
\ No newline at end of file
diff --git a/api/command_manager.html b/api/command_manager.html
index 5f54b975..b580d309 100644
--- a/api/command_manager.html
+++ b/api/command_manager.html
@@ -1,8 +1,5 @@
-
-
-
- CommandManager - Ace API
\ No newline at end of file
diff --git a/api/document.html b/api/document.html
index 192f41dc..577fe66f 100644
--- a/api/document.html
+++ b/api/document.html
@@ -1,7 +1,4 @@
-
-
-
- Document - Ace API
Contains the text of the document. Document can be attached to several EditSessions. At its core, Documents are just an array of strings, with each row in the document matching up to the array index.
Contains the text of the document. Document can be attached to several EditSessions. At its core, Documents are just an array of strings, with each row in the document matching up to the array index.
Returns the new start property of the range, which contains startRow and startColumn. If range is empty, this function returns the unmodified value of range.start.
\ No newline at end of file
diff --git a/api/edit_session.html b/api/edit_session.html
index 529d0360..64081b69 100644
--- a/api/edit_session.html
+++ b/api/edit_session.html
@@ -1,10 +1,7 @@
-
-
-
- EditSession - Ace API
Stores all the data about Editor state providing easy way to change editors state. EditSession can be attached to only one Document. Same Document can be attached to several EditSessions.
Stores all the data about Editor state providing easy way to change editors state. EditSession can be attached to only one Document. Same Document can be attached to several EditSessions.
Adds a new marker to the given Range. If inFront is true, a front marker is defined, and the 'changeFrontMarker' event fires; otherwise, the 'changeBackMarker' event fires.
Adds a new marker to the given Range. If inFront is true, a front marker is defined, and the 'changeFrontMarker' event fires; otherwise, the 'changeBackMarker' event fires.
Adds a new marker to the given Range. If inFront is true, a front marker is defined, and the 'changeFrontMarker' event fires; otherwise, the 'changeBackMarker' event fires.
Returns the current value for tabs. If the user is using soft tabs, this will be a series of spaces (defined by getTabSize()); otherwise it's simply '\t'.
Returns the current value for tabs. If the user is using soft tabs, this will be a series of spaces (defined by getTabSize()); otherwise it's simply '\t'.
Moves a range of text from the given range to the given position. toPosition is an object that looks like this:
-
EditSession.onReloadTokenizer(e)
Reloads all the tokens on the current session. This function calls BackgroundTokenizer.start () to all the rows; it also emits the 'tokenizerUpdate' event.
-
Reloads all the tokens on the current session. This function calls BackgroundTokenizer.start () to all the rows; it also emits the 'tokenizerUpdate' event.
Outdents all the rows defined by the start and end properties of range.
+
EditSession.onReloadTokenizer(e)
Reloads all the tokens on the current session. This function calls BackgroundTokenizer.start () to all the rows; it also emits the 'tokenizerUpdate' event.
+
Reloads all the tokens on the current session. This function calls BackgroundTokenizer.start () to all the rows; it also emits the 'tokenizerUpdate' event.
The new start property of the range, which contains startRow and startColumn. If range is empty, this function returns the unmodified value of range.start.
Removes the marker with the specified ID. If this marker was in front, the 'changeFrontMarker' event is emitted. If the marker was in the back, the 'changeBackMarker' event is emitted.
Removes the marker with the specified ID. If this marker was in front, the 'changeFrontMarker' event is emitted. If the marker was in the back, the 'changeBackMarker' event is emitted.
Converts characters coordinates on the screen to characters coordinates within the document. This takes into account code folding, word wrap, tab size, and any other visual modifications.
Converts characters coordinates on the screen to characters coordinates within the document. This takes into account code folding, word wrap, tab size, and any other visual modifications.
Converts characters coordinates on the screen to characters coordinates within the document. This takes into account code folding, word wrap, tab size, and any other visual modifications.
Sets a new text mode for the EditSession. This method also emits the 'changeMode' event. If a BackgroundTokenizer is set, the 'tokenizerUpdate' event is also emitted.
-
Sets a new text mode for the EditSession. This method also emits the 'changeMode' event. If a BackgroundTokenizer is set, the 'tokenizerUpdate' event is also emitted.
Sets a new text mode for the EditSession. This method also emits the 'changeMode' event. If a BackgroundTokenizer is set, the 'tokenizerUpdate' event is also emitted.
+
Sets a new text mode for the EditSession. This method also emits the 'changeMode' event. If a BackgroundTokenizer is set, the 'tokenizerUpdate' event is also emitted.
Set the number of spaces that define a soft tab; for example, passing in 4 transforms the soft tabs to be equivalent to four spaces. This function also emits the changeTabSize event.
Set the number of spaces that define a soft tab; for example, passing in 4 transforms the soft tabs to be equivalent to four spaces. This function also emits the changeTabSize event.
Required. If true, doesn't select the range of where the change occured
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/api/editor.html b/api/editor.html
index 362697c2..a7798f30 100644
--- a/api/editor.html
+++ b/api/editor.html
@@ -1,11 +1,8 @@
-
-
-
- Editor - Ace API
The main entry point into the Ace functionality. The Editor manages the EditSession (which manages Documents), as well as the VirtualRenderer, which draws everything to the screen. Event sessions dealing with the mouse and keyboard are bubbled up from Document to the Editor, which decides what to do with them.
The main entry point into the Ace functionality. The Editor manages the EditSession (which manages Documents), as well as the VirtualRenderer, which draws everything to the screen. Event sessions dealing with the mouse and keyboard are bubbled up from Document to the Editor, which decides what to do with them.
Returns true if the behaviors are currently enabled. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.
Pass in true to enable overwrites in your session, or false to disable. If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.
Pass in true to enable overwrites in your session, or false to disable. If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.
Pass in true to enable overwrites in your session, or false to disable. If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.
\ No newline at end of file
diff --git a/api/index.html b/api/index.html
index 32e65c8f..a4f1f307 100644
--- a/api/index.html
+++ b/api/index.html
@@ -1,7 +1,4 @@
-
-
-
- Ace API
Welcome to the Ace API Reference Guide. Ace is a standalone code editor written in JavaScript that you can embed onto any website. We're used in a bunch of places already, like GitHub, Google, and Facebook.
On the left, you'll find a list of all of our currently documented classes. There are plenty more to do, but these represent the "core" set. For more information on how to work with Ace, check out the main Ace website.
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/api/placeholder.html b/api/placeholder.html
index 45e7601e..98aa0b55 100644
--- a/api/placeholder.html
+++ b/api/placeholder.html
@@ -1,10 +1,7 @@
-
-
-
- PlaceHolder - Ace API
Hides all over markers in the EditSession that are not the currently selected one.
-
Hides all over markers in the EditSession that are not the currently selected one.
+
PlaceHolder.hideOtherMarkers()
Hides all over markers in the EditSession that are not the currently selected one.
+
Hides all over markers in the EditSession that are not the currently selected one.
PlaceHolder.setup()
TODO
TODO
PlaceHolder.showOtherMarkers()
TODO
TODO
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/api/range.html b/api/range.html
index 9ed3122e..19f69645 100644
--- a/api/range.html
+++ b/api/range.html
@@ -1,7 +1,4 @@
-
-
-
- Range - Ace API
This object is used in various places to indicate a region within the editor. To better visualize how this works, imagine a rectangle. Each quadrant of the rectangle is analogus to a range, as ranges contain a starting row and starting column, and an ending row, and ending column.
This object is used in various places to indicate a region within the editor. To better visualize how this works, imagine a rectangle. Each quadrant of the rectangle is analogus to a range, as ranges contain a starting row and starting column, and an ending row, and ending column.
Returns a string containing the range's row and column information, given like this:
Returns a string containing the range's row and column information, given like this:
[start.row/start.column] -> [end.row/end.column]
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/api/renderloop.html b/api/renderloop.html
index 19626ea2..26aa4d16 100644
--- a/api/renderloop.html
+++ b/api/renderloop.html
@@ -1,6 +1,3 @@
-
-
-
- RenderLoop - Ace API