| speed | Number | Required. A value indicating the new speed
+ Arguments| speed | Number | Required. A value indicating the new speed (in milliseconds)
|
@@ -4205,7 +4205,9 @@
Indicates how selections should occur.
- By default, selections are set to "line". This function also emits the 'changeSelectionStyle' event.
+ By default, selections are set to "line". There are no other styles at the moment,
+although this code change in the future.
+ This function also emits the 'changeSelectionStyle' event.
Arguments| style | String | Required. The new selection style
|
@@ -4416,7 +4418,7 @@
-
- - Editor.setWrapBehavioursEnabled(Object enabled)
+ - Editor.setWrapBehavioursEnabled(Boolean enabled)
@@ -4424,20 +4426,14 @@
- Editor.setWrapBehavioursEnabled(enabled)
-
-- enabled (Boolean): Enables or disables wrapping behaviors
-
-
-
- Editor.setWrapBehavioursEnabled(enabled)
-
-- enabled (Boolean): Enables or disables wrapping behaviors
-
- Specifies whether to use wrapping behaviors or not, i.e. automatically wrapping the selection with characters such as brackets
+ Specifies whether to use wrapping behaviors or not, i.e. automatically wrapping the selection with characters such as brackets
when such a character is typed in.
- Arguments| enabled | Object | Required.
+
+ Specifies whether to use wrapping behaviors or not, i.e. automatically wrapping the selection with characters such as brackets
+when such a character is typed in.
+
+ Arguments| enabled | Boolean | Required. Enables or disables wrapping behaviors
|
diff --git a/api/virtual_renderer.html b/api/virtual_renderer.html
index dfb26a7e..90b23620 100644
--- a/api/virtual_renderer.html
+++ b/api/virtual_renderer.html
@@ -17,7 +17,7 @@
- Functions (72)
+ Functions (73)
onChangeTabSize
+ onGutterResize
+
onResize
pixelToScreenCoordinates
@@ -1110,6 +1112,30 @@
+
+
+
+
+
+ -
+
+ - VirtualRenderer.onGutterResize
+
+
+
+
+
+
+
+
+
diff --git a/lib/ace/editor.js b/lib/ace/editor.js
index 8a034019..865de51f 100644
--- a/lib/ace/editor.js
+++ b/lib/ace/editor.js
@@ -492,7 +492,7 @@ var Editor = function(renderer, session) {
if (session.$highlightLineMarker && !highlight) {
session.removeMarker(session.$highlightLineMarker.id);
- session.$highlightLineMarker = null;
+ session.$highlightLineMarker = null;
} else if (!session.$highlightLineMarker && highlight) {
session.$highlightLineMarker = session.highlightLines(highlight.row, highlight.row, "ace_active-line");
} else if (highlight) {
@@ -793,7 +793,7 @@ var Editor = function(renderer, session) {
/**
* Sets how fast the mouse scrolling should do.
- * @param {Number} speed A value indicating the new speed
+ * @param {Number} speed A value indicating the new speed (in milliseconds)
*
*
*
@@ -803,7 +803,7 @@ var Editor = function(renderer, session) {
};
/**
- * Returns the value indicating how fast the mouse scroll speed is.
+ * Returns the value indicating how fast the mouse scroll speed is (in milliseconds).
* @returns {Number}
**/
this.getScrollSpeed = function() {
@@ -842,7 +842,10 @@ var Editor = function(renderer, session) {
/**
* Indicates how selections should occur.
*
- * By default, selections are set to "line". This function also emits the `'changeSelectionStyle'` event.
+ * By default, selections are set to "line". There are no other styles at the moment,
+ * although this code change in the future.
+ *
+ * This function also emits the `'changeSelectionStyle'` event.
*
* @param {String} style The new selection style
*
@@ -870,8 +873,6 @@ var Editor = function(renderer, session) {
* Determines whether or not the current line should be highlighted.
* @param {Boolean} shouldHighlight Set to `true` to highlight the current line
*
- *
- *
**/
this.setHighlightActiveLine = function(shouldHighlight) {
if (this.$highlightActiveLine == shouldHighlight)
@@ -1039,11 +1040,10 @@ var Editor = function(renderer, session) {
this.$modeWrapBehaviours = true;
/**
- * Editor.setWrapBehavioursEnabled(enabled)
- * - enabled (Boolean): Enables or disables wrapping behaviors
- *
* Specifies whether to use wrapping behaviors or not, i.e. automatically wrapping the selection with characters such as brackets
* when such a character is typed in.
+ * @param {Boolean} enabled Enables or disables wrapping behaviors
+ *
**/
this.setWrapBehavioursEnabled = function (enabled) {
this.$modeWrapBehaviours = enabled;
diff --git a/lib/ace/selection.js b/lib/ace/selection.js
index 71a17f34..5bd463d1 100644
--- a/lib/ace/selection.js
+++ b/lib/ace/selection.js
@@ -245,6 +245,7 @@ var Selection = function(session) {
*
*
* @method setSelectionRange
+ * @alias setRange
**/
this.setRange =
this.setSelectionRange = function(range, reverse) {
|
|