classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] Formatting change of JTextComponent.java


From: Meskauskas Audrius
Subject: Re: [cp-patches] Formatting change of JTextComponent.java
Date: Sun, 27 Feb 2005 18:48:25 +0100

Because otherwise the path is impossible to read, as my text editor was configured not to use tabs. As a result, the path contains instructions to replace tabs by spaces, including lines where I have never done any changes. To work around this, I attached the original java file. If you need a readable path instead, the only way is to replace tabs by spaces first.

As the editor replaces tabs into spaces automatically, it is unlikely to have any code or formatting alteration during this conversion.

It is generally recommended to avoid using the tab character as this can cause problems when working with multiple editing and communication tools, many now having configurable tabulation settings. I think, the project would benefit from the global automated replacing of tabs by spaces. Now you seem having the mixed content.

Why do you do this patches ? We have no rule for Tabs vs. Spaces except
that 1 Tab is 8 spaces. But we have no rule to avoid tabs. If we ever
decide on it these changes should be done by tools running
automatically.


Michael








reply via email to

[Prev in Thread] Current Thread [Next in Thread]