[Lazarus] How to change Class Completion for Setter methods
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Mon Jan 25 12:16:32 CET 2016
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 -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the Lazarus
mailing list