On Mon, 2 Jan 2012, luciano de souza wrote:
hello listers, A blind programer doesn't matter whether a code is indented. That's my case. For us, it's natural to disregard all code formatation. In spite of that, the indentation is crucial. If my code is read by sighted programers, they will be disturbed. So if it's possible, I want to type my code without indentation and after I want to process de dcoe with a commandline tool which adds the indentation. A friend told me: "Use Lazarus. It indents the code automatically". No, Lazarus is not a alternative for me. The graphical interface of Lazarus has severe restrictions in terms of accessibility. My editor is Gedit. In Linux, there are not lots of accessible editors. For this reason, I don't think I will get a plugin to do it for me. So I ask: Does someone know a commandline tool that indents the code automatically?
Yes. FPC comes with a tool ptop. It indents code. It is probably not as powerful as the lazarus code formatter, but it does the job. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal