add a getValue to match setValue (it's just a synonym for toString)
This commit is contained in:
parent
3210edda92
commit
71d98abe1e
1 changed files with 3 additions and 1 deletions
|
|
@ -86,6 +86,8 @@ var Document = function(text, mode) {
|
||||||
return this.lines.join(this.$getNewLineCharacter());
|
return this.lines.join(this.$getNewLineCharacter());
|
||||||
};
|
};
|
||||||
|
|
||||||
|
this.getValue = this.toString;
|
||||||
|
|
||||||
this.getSelection = function() {
|
this.getSelection = function() {
|
||||||
return this.selection;
|
return this.selection;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue