if I write the following code:

procedure foo;
begin
  if true then
  begin
    X
  end
  else
  begin
      X
  end;
end;

The "x" marks the place where it puts my cursor after hitting enter.
After the the if then begin it will correctly place me 2 spaces
indented relative to the begin, but after the end else begin it will
place me 4 spaces relative to the begin.

I cannot find any way to influence this behavior in the editor
settings (which are very confusing btw), I cannot even change anything
at all there, even if I set everything to 4 spaces instead of 2 it
will still use 2 spaces everywhere (and 4 in an else begin branch).

Is this just me or is this a bug in the 1.4 release?

Bernd

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to