From 063aaed3a20dec2e73a1ee1f3feee74b66070627 Mon Sep 17 00:00:00 2001 From: nightwing Date: Mon, 26 Aug 2013 20:21:07 +0400 Subject: [PATCH] add @deprecated comment for getCopyText --- lib/ace/editor.js | 5 +++++ 1 file changed, 5 insertions(+) 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);