// select characters to highlight
Memo.SelStart := PosEx(UpperCase(Edit.Text), UpperCase(Memo.Text), searchOFS) - 1;
Memo.SelLength := Length(Edit.Text);
This does not scroll the relevant text into the viewable TMemo window. In fact, it has no effect - no scrolling at all

The highlighting does work

Sample project showing issue attached. Lazarus and OS details vvvvv below vvvvv