I’m porting a wxWidgets application to juce at present and I’m trying to find the most obvious corresponding juce methods to those found in wxWidgets. Currently I’m trying to a) retrieve the number of lines in a textEditor component and b) access each line with a line index. Something along of the lines of:
Looks like I missed the point of your last post: to load the string into a StringArray using addLines after which I can retrieve the numbers of elements, i.e., lines, by calling the size() method. Have it now. Cheers.