Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
procedure ChangeLineToArial ( line: integer );
const
Marker = '/~^&"£$';
var
p: integer;
begin
with RichEdit1 do begin
Assert ( Pos ( marker, Text ) = 0 );
Lines[line] := Marker + Lines[line];
SelStart := Pos ( Marker, Text ) - 1;
SelLength := Length ( Lines[line] );
SelAttributes.Name := 'Arial';
p := Pos ( Marker, Lines[line] );
Lines[line] := Copy ( Lines[line], 1, p-1 ) + Copy ( Lines[line], p+Length(Marker), Length(Text) );
end;
end;