Recent

Author Topic: How to quick delete a procedure/function?  (Read 3089 times)

Edson

  • Hero Member
  • *****
  • Posts: 1328
How to quick delete a procedure/function?
« on: December 28, 2015, 06:18:34 pm »
Is there some quick way to delete a procedure/function (interface and implementation) in the IDE, without deleting all manually?


Thanks
Lazarus 2.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: How to quick delete a procedure/function?
« Reply #1 on: December 29, 2015, 10:18:21 am »
Activate option in the attachment, then clear the method body (no var, no const, nothing between begin end). Just save the file afterwards, the method will be removed automatically.

Edson

  • Hero Member
  • *****
  • Posts: 1328
Re: How to quick delete a procedure/function?
« Reply #2 on: December 29, 2015, 03:09:47 pm »
Well, not exactly why I wanted, but useful anyway. Thanks.
Lazarus 2.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

 

TinyPortal © 2005-2018