Op 14-9-2021 om 17:55 schreef Martin Frb via lazarus:
On 14/09/2021 17:49, Marco van de Voort via lazarus wrote:

Op 14-9-2021 om 17:17 schreef Martin Frb via lazarus:
In order for git to show pascal function headers.

Add the following to your config

[diff "fpc"]
  xfuncname = "^(((class[ \\t]+)?(procedure|function)|constructor|destructor|[ \\t].*[ \\t]*=[

operator?


Yes, and you can also allow spaces at the begin of the line.

I did not, to try and get the outer procedure always. Because otherwise it finds nested procs, even if you are in the main body.


I meant "class operator" is also a method like declaration

--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to