Christian Kamm
|
74ed3e8a11
|
C++ indenter: Add more functions to manage the indenter state.
|
2010-07-06 14:53:54 +02:00 |
|
Christian Kamm
|
bf7613d2e7
|
C++ indenter: Add special case rule for indenting enums.
So you now get
enum A { a = 2,
b = 3,
};
|
2010-07-06 13:54:21 +02:00 |
|
Christian Kamm
|
8dbbf9be92
|
C++ indenter: Require explicit state update requests.
This will allow much faster indenting of selected areas as the state
doesn't have to be checked again for every line.
|
2010-07-06 13:52:49 +02:00 |
|
Christian Kamm
|
793ef6a694
|
C++ indenter: Fix 'else' indentation in GNU style.
|
2010-07-06 09:44:35 +02:00 |
|
Christian Kamm
|
19db6c9826
|
C++ indenter: Make building custom styles easier, fix style issues.
Keep more information by using enter() instead of turnInto() when moving
from a *_start to *_open.
|
2010-07-05 13:49:12 +02:00 |
|
Christian Kamm
|
88f2e340bd
|
C++: Introduce the new CodeFormatter.
Done-with: Erik Verbruggen
|
2010-07-02 16:13:12 +02:00 |
|