add @deprecated comment for getCopyText

This commit is contained in:
nightwing 2013-08-26 20:21:07 +04:00
commit 063aaed3a2

View file

@ -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);