Add inherited; keyword for message method
Original Reporter info from Mantis: Blaazen @Blaazen
-
Reporter name: Vojtech Cihak
Original Reporter info from Mantis: Blaazen @Blaazen
- Reporter name: Vojtech Cihak
Description:
(Feature request)
When message method (like CMEnabledChanged) is autocompleted (via Ctrl+Shift+C), there's no inherited; keyword added. It is difference to other virtual overridden method. Note that message methods are virtual automatically.
Steps to reproduce:
//place caret to CMEnabledChanged line and press Ctrl+Shift+C
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, LMessages;
type
{ TMyC }
TMyC = class(TCustomControl)
protected
procedure CMEnabledChanged(var Message: TLMessage); message CM_ENABLEDCHANGED;
end;
TForm1 = class(TForm)
private
{ private declarations }
public
{ public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.lfm}
end.
Mantis conversion info:
- Mantis ID: 24792
- OS: Linux
- OS Build: Chakra 64-bit
- Build: 42089
- Platform: amd64
- Version: 1.1 (SVN)