bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#15465: CC-mode misaligns enums that implement an interface in Java


From: Paul Pogonyshev
Subject: bug#15465: CC-mode misaligns enums that implement an interface in Java
Date: Thu, 26 Sep 2013 10:31:43 +0200

Since Java mode finally got some improvements recently, maybe someone can solve this too. In Java, enumerations can implement interfaces. However, CC-mode doesn't handle that well. Compare this indentation, for example:

public enum X
{
    A,
    B;
}

vs.

public enum X implements Y
{
    A,
        B;
}

Fontification of 'A' and 'B' also changes when I add 'implements' keyword.

Paul


reply via email to

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