I am loading a txt File into a textBox with the code below.
For each Line I am checking : if( LoadTopic2.substr(0, 2) == "Ex" )
If that is True I want to select that Row and mark that Line Blue.
I have started some code out below but
dont really know how to select a Row like this.
richTextBox1->Select ????
String^ text;
std::string Load2;
for (int id = 0; id < (counting + 1); id++)
{
String^ Load1 = gcnew String(vec1[id].c_str());
this->richTextBox1->Text = text;
this->richTextBox1->Multiline = true;
this->richTextBox1->WordWrap = false;
text += Load1 + System::Environment::NewLine;
MarshalString(Load1 , Load2);
if( Load2.substr(0, 2) == "Ex" )
{
richTextBox1->Select ????
this->richTextBox1->SelectionColor = Color::Blue;
this->richTextBox1->DeselectAll();
}
}