Basically, I want to make something similar to "Split into lines" in sublime using wxWidgets. So say our textCtrl contains text
aaaaaa
bbbbbb
cccccc
ffffff
what I want is when user selects all these lines and uses that feature (with everything highlighted - like Select All), he should get something like
aaaaaa|
bbbbbb|
cccccc|
dddddd|
Where |
are the carets. So basically, I want to have multiple carets in one wxRichTextCtrl. Any idea how can I achieve that?
wxRichTextCtrl
doesn't support this, but wxStyledTextCtrl
does, see Scintilla documentation.