Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Code Editor/Formatting    [ Add a report in this area ]  
Report #:  77840   Status: Closed
"message" keyword not well handled
Project:  Delphi Build #:  14.0.3513.24210
Version:    14.0 Submitted By:   Thierry RL
Report Type:  Minor failure / Design problem Date Reported:  9/19/2009 2:13:45 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   272947
Resolution: Duplicate (Resolution Comments) Resolved in Build: : 15.0.3665.27232
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
a linebreak is inserted just before the keyword "message" in class declaration

after formating, the class looks like this:

type
  MyClass = class(TWinControl)
  private
    procedure MsgHandler1(var Msg: TMessage);
    message MSG1;
    procedure MsgHandler2(var Msg: TMessage);
    message MSG2;
  end;

instead of

type
  MyClass = class(TWinControl)
  private
    procedure MsgHandler1(var Msg: TMessage); message MSG1;
    procedure MsgHandler2(var Msg: TMessage); message MSG2;
  end;

or, at least as ugly alternative:

type
  MyClass = class(TWinControl)
  private
    procedure MsgHandler1(var Msg: TMessage);
      message MSG1;
    procedure MsgHandler2(var Msg: TMessage);
      message MSG2;
  end;
Steps to Reproduce:
None
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01