Christian Kamm
|
c5c4bacda9
|
C++ indenter: Fix labels.
Reviewed-by: Roberto Raggi
|
2010-12-01 10:22:41 +01:00 |
|
Christian Kamm
|
be563abf68
|
C++ indenter: Simplify debugging by making dump() more verbose.
|
2010-09-24 15:08:54 +02:00 |
|
Christian Kamm
|
642b6fb0d3
|
C++ indenter: Separate indent into logical indent and padding.
|
2010-09-13 12:38:34 +02:00 |
|
Christian Kamm
|
5cd6ebfdfd
|
C++: Only reindent on electric characters if indent wasn't user-changed.
This should make the indenter less strict and annoying for non-standard
indentation styles.
Reviewed-by: Roberto Raggi
|
2010-09-08 16:22:23 +02:00 |
|
Christian Kamm
|
538f611503
|
Indenters: Move style setup into the QtStyleCodeFormatter constructors.
This makes sure styles are consistent for the editor and the quick fix
engine.
|
2010-08-12 14:21:35 +02:00 |
|
Christian Kamm
|
d292eca5f6
|
C++ indenter: Indent member initializer lists correctly.
Without requiring ',' to be an electric character.
Task-number: QTCREATORBUG-1866
Reviewed-by: Roberto Raggi
|
2010-07-16 10:30:14 +02:00 |
|
Christian Kamm
|
1a61ae01cb
|
C++ indenter: Respect user indent with stream operators.
Reviewed-by: Erik Verbruggen
|
2010-07-15 16:15:09 +02:00 |
|
Christian Kamm
|
6ee1027eaa
|
Add missing license headers.
|
2010-07-09 15:47:25 +02:00 |
|
Christian Kamm
|
574afeb551
|
C++ indenter: Build fix for windows.
Done-with: Tobias Hunger
|
2010-07-08 12:31:52 +02:00 |
|
Christian Kamm
|
7ae3fd5a10
|
C++ indenter: Refactor to be independent of BaseTextDocumentLayout.
Done-with: Thomas Hartmann
|
2010-07-08 10:16:17 +02:00 |
|
Christian Kamm
|
74ed3e8a11
|
C++ indenter: Add more functions to manage the indenter state.
|
2010-07-06 14:53:54 +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
|
27578a6c2c
|
C++: Use the new indenter.
Reviewed-by: Roberto Raggi
|
2010-07-05 13:49:12 +02:00 |
|
Christian Kamm
|
e48864684e
|
C++ indenter: Store tab size and use it to calculate the column position
|
2010-07-05 13:49:12 +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
|
3100fc0b7e
|
C++ indenter: Add support for other brace styles.
|
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 |
|