Why is this an issue?

Delphi code should not be indented with tab characters. Doing so has a number of detriments:

How to fix it

Instead of using tab characters, indent two spaces for all indentation levels.

type
  TMyObject = class(TObject)
  public
    procedure Foo;
  end;

Resources