add @deprecated comment for getCopyText
This commit is contained in:
parent
244e1462e8
commit
063aaed3a2
1 changed files with 5 additions and 0 deletions
|
|
@ -754,6 +754,11 @@ var Editor = function(renderer, session) {
|
|||
* @param {String} text The copied text
|
||||
*
|
||||
**/
|
||||
/**
|
||||
* Returns the string of text currently highlighted.
|
||||
* @returns {String}
|
||||
* @deprecated Use getSelectedText instead.
|
||||
**/
|
||||
this.getCopyText = function() {
|
||||
var text = this.getSelectedText();
|
||||
this._signal("copy", text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue