Actually, I did a few tests in which I prompted the de->GetLineCount() and it ALWAYS returns 1, for every DocEdit, be it in an ArrayCtrl or not! Isnīt TextCtrl::GetLineCount() supposed to return the current number of text lines in the TextCtrl?
The Upp Text.h code source gives me something like
int GetLineCount() const { return line.GetCount(); }
, where
Vector<Ln> line;
is a Vector, in which apparently each Ln struct corresponds to a wrapped line string in the TextCtrl view. How come it always return 1?