Le 05/05/2015 21:58, Georg Baum a écrit :
I suggest a very simple rule which ensures good display for everybody: Use
tabs for logical indentation, and spaces for visula alignment.

Note that Preambles are read with getLongString, which considers the leading space of the first line as a prefix for all other lines. This does not look understandable, so let's copy the comment in Lexer.h:

        /** Get a long string, ended by the tag `endtag'.
            This string can span several lines. The first line
            serves as a template for how many spaces the lines
            are indented. This much white space is skipped from
            each following line. This mechanism does not work
            perfectly if you use tabs.
        */

So it might be that getLongString should be audited wrt tabs.

JMarc

Reply via email to