git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24060
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// this is easy in this case as EOL characters in richedit
// version > 1 are just '\r's and so positions map to
// string indices one to one (unlike with richedit 1)
// this is easy in this case as EOL characters in richedit
// version > 1 are just '\r's and so positions map to
// string indices one to one (unlike with richedit 1)
- str = str.Mid(from, to - from + 1);
+ str = str.Mid(from, to - from);