Hi,
When I do class completion in Lazarus for a property with a setter method I get code as follows:
procedure TFPCustomMemo.SetAlignment(AValue: TAlignment);
begin
if FAlignment = AValue then Exit;
FAlignment := AValue;
end;How, if at all, do I change that code formatting to his:
procedure TFPCustomMemo.SetAlignment(AValue: TAlignment);
begin
if FAlignment = AValue then
Exit;
FAlignment := AValue;
end;Note that the latter example has a line break after the if..then statement.
Regards,
- Graeme -
