It would be if it could be done. Below is the example, and the second is what it could be like. The begin in the OnTest does not line up with the function name.
procedureTProc.DoSomething;beginTMethod.OnTest:=function:TXxxbegin...end;end;// and this:procedureTProc.DoSomething;beginTMethod.OnTest:=function:TXxxbegin...end;end;
So maybe a configuration option could be added.
Last edit: Thomas Mueller 2025-05-05
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
--- old+++ new@@ -1 +1,2 @@Is it possible to indent the anonymous function or procedure to be in line with the begin/end
+
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't think so, but I haven't actually tried all applicable settings.
It would be if it could be done. Below is the example, and the second is what it could be like. The begin in the OnTest does not line up with the function name.
should be like this
Last edit: Thomas Mueller 2025-05-05
But I would like to have formatting like this:
So maybe a configuration option could be added.
Last edit: Thomas Mueller 2025-05-05
Diff:
This was a bug and has been fixed in revision #5117