I look through documents, and also select the source code, and I find nothing, all I see are selection and range objects, as well as methods that control ranges.
It is better to use editor.getSelectedText() instead.
editor.getSelectedText()
Found in the source code of the Ace editor:
editor.getSession().doc.getTextRange(editor.selection.getRange());
Source: https://habr.com/ru/post/970188/More articles:Custom Order Action in WooCommerce - drop-down-menuforeign key relationships in django bulk_create request? - python-2.7Laravel Response :: json () with a numerical check - jsonHow to add personalized group actions to WordPress list tables? - phpWhy is my global variable "unavailable" when debugging? - variablesCan I use assignment to duplicate object objects? - cloneComplex Cython executable with f2py file module - pythonFree inheritance and mapping API EF - inheritanceWarning set of variables, but not used - cNotSupportedException: type A cannot be displayed as definede. Concrete Table (TPC) EF6 - c #All Articles