On Tue, 11 Feb 2020, fredvs via fpc-pascal wrote:
Hello everybody. I just discovered ptop. Well done Michael!
I just ported and extended an old system.
Thanks to ptop, I was able to make the code of uos.pas (+- 10.000 lines) more beautiful. Congratulation Michael, ptop can deal with the lot of {$IF DEFINED(something)} of my code. I was not able to do it with Jedi, who refused my code. So, once again, wow. Now about configuration of ptop; Is it possible to format code with comma? For example, format this: Uses unit1,unit2,unit3 to get that (a space added after comma) Uses unit1, unit2, unit3 Jedi does it, maybe ptop does it too?
Not currently, ptop needs to be extended for that. It should be relatively easily possible, because colon, period and so on are also treated specially.
if "," is recognized, a 'spaft' option will do what you want. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal