}
// ----------------------------------------------------------------------------
-// misc
+// selection and ranges
// ----------------------------------------------------------------------------
void wxTextCtrlBase::SelectAll()
long from, to;
GetSelection(&from, &to);
+ return GetRange(from, to);
+}
+
+wxString wxTextCtrlBase::GetRange(long from, long to) const
+{
wxString sel;
if ( from < to )
{