-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

does anybody know details about how exactly the JEDI code formatter
works? I think i have found a bug and i want to fix it. Although i
already filed a bug with the JCF project i think it will take some time
until it is fixed in Lazarus too and I think it is only a few lines of
code, so i can make my own workaround until then (and maybe send the
patches to jcf if i'm faster than them).

Here is the bug: when i have a program

program foo;

const
    x = 1;

begin
end.

the code formatter will remove the indentation before the x which looks
quite ugly. indentation of const blocks work only in units, not in
programs or libraries (tested with the current download of jcf from
their sourceforge page).

I think this should be easy to fix if I only knew where to look in all
the many source files of the jcf. Can anybody point me into the right
direction?

Bernd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLdh+FxT6R4jlFoh0RAmhKAKDM+DQQa6xVH+rU9X7cweBT3AKOFQCg5i0K
hAFiHTbxiwZzpbkGr+kVAXY=
=bh78
-----END PGP SIGNATURE-----

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to