|
From: | Paul Eggert |
Subject: | Re: Variable-width font indentation |
Date: | Mon, 5 Mar 2018 14:30:52 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 03/05/2018 12:28 PM, Clément Pit-Claudel wrote:
Applying this strategy to all lines doesn't work, unfortunately: it indents the `pr ()' and `printf (' lines differently, because the `in' of `int main' and the `vo' of `void' occupy different widths.
True, but that's a feature not a defect. The code is easier to read if every region is indented individually, as opposed to using exactly the same indenting everywhere in the buffer.
[Prev in Thread] | Current Thread | [Next in Thread] |