* * *

Author Topic: [SOLVED] Automatic deletion of empty procedures and functions  (Read 140 times)

derles

  • New member
  • *
  • Posts: 22
After updating version 1.0.10 to 1.6.4, I noticed that an editor's behavior has stopped working: the automatic deletion of empty procedures and functions.
The empty procedures disappeared after saving files, but no longer.
I can't find in Tools - Options anything to re-enable that option, if it exists.
Any advice ?
Tks.

Lazarus: 1.6.4
FPC: 3.0.2
OS: Windows 7
« Last Edit: July 17, 2017, 11:00:50 pm by derles »

howardpc

  • Hero Member
  • *****
  • Posts: 2186
Re: Automatic deletion of empty procedures and functions
« Reply #1 on: July 17, 2017, 10:28:13 pm »
Tools > Options...
In the Options dialog under the Editor node in the treeview on the left click on
    Completion and Hints
The first checkbox needs to be ticked: "Auto remove empty methods"

derles

  • New member
  • *
  • Posts: 22
Re: Automatic deletion of empty procedures and functions
« Reply #2 on: July 17, 2017, 10:59:36 pm »
Oh, so simple!
Thank you very much howardpc

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus