Recent

Author Topic: Remove Forward Declaration  (Read 2190 times)

Zath

  • Sr. Member
  • ****
  • Posts: 391
Remove Forward Declaration
« on: February 18, 2019, 12:49:57 am »
Remove Forward Declaration

On running my project, I get errors about Forward Declaration not Solved after removing empty event procedures in the source.

Is there any way to use the error message to remove the declarations rather than manually click on the line and delete it ?

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: Remove Forward Declaration
« Reply #1 on: February 18, 2019, 01:10:26 am »
There's no refactoring for this, however, when you click that error in Messages, the Source Editor is focused on the relevant line and Ctrl+Y deletes it.
If it is the only one error, you don't even have to click Messages, Source Editor is focused and Ctrl+Y is enough.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Zath

  • Sr. Member
  • ****
  • Posts: 391
Re: Remove Forward Declaration
« Reply #2 on: February 18, 2019, 01:37:52 am »
CTRL+Y is useful, thanks.
I use some CTRL keystrokes but that wasn't in my head, it is now !

 

TinyPortal © 2005-2018