diff --git a/lib/ace/editor.js b/lib/ace/editor.js index 04918547..afd98874 100644 --- a/lib/ace/editor.js +++ b/lib/ace/editor.js @@ -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);