Merge pull request #2479 from bcjordan/patch-4
Update comment, add missing semicolon [ci skip]
This commit is contained in:
commit
d2dc26f5a5
1 changed files with 3 additions and 3 deletions
|
|
@ -151,7 +151,7 @@ var EditSession = function(text, mode) {
|
||||||
this.$foldData = [];
|
this.$foldData = [];
|
||||||
this.$foldData.toString = function() {
|
this.$foldData.toString = function() {
|
||||||
return this.join("\n");
|
return this.join("\n");
|
||||||
}
|
};
|
||||||
this.on("changeFold", this.onChangeFold.bind(this));
|
this.on("changeFold", this.onChangeFold.bind(this));
|
||||||
this.$onChange = this.onChange.bind(this);
|
this.$onChange = this.onChange.bind(this);
|
||||||
|
|
||||||
|
|
@ -679,10 +679,10 @@ var EditSession = function(text, mode) {
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an array containing the IDs of all the markers, either front or back.
|
* Returns an object containing all of the markers, either front or back.
|
||||||
* @param {Boolean} inFront If `true`, indicates you only want front markers; `false` indicates only back markers
|
* @param {Boolean} inFront If `true`, indicates you only want front markers; `false` indicates only back markers
|
||||||
*
|
*
|
||||||
* @returns {Array}
|
* @returns {Object}
|
||||||
**/
|
**/
|
||||||
this.getMarkers = function(inFront) {
|
this.getMarkers = function(inFront) {
|
||||||
return inFront ? this.$frontMarkers : this.$backMarkers;
|
return inFront ? this.$frontMarkers : this.$backMarkers;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue