|
@@ -212,6 +212,11 @@ private:
|
|
// StartOfLineColumn[i] is the target column at which Line[i] should be.
|
|
// StartOfLineColumn[i] is the target column at which Line[i] should be.
|
|
// Note that this excludes a leading "* " or "*" in case all lines have
|
|
// Note that this excludes a leading "* " or "*" in case all lines have
|
|
// a "*" prefix.
|
|
// a "*" prefix.
|
|
|
|
+ // The first line's target column is always positive. The remaining lines'
|
|
|
|
+ // target columns are relative to the first line to allow correct indentation
|
|
|
|
+ // of comments in \c WhitespaceManager. Thus they can be negative as well (in
|
|
|
|
+ // case the first line needs to be unindented more than there's actual
|
|
|
|
+ // whitespace in another line).
|
|
SmallVector<int, 16> StartOfLineColumn;
|
|
SmallVector<int, 16> StartOfLineColumn;
|
|
|
|
|
|
// The column at which the text of a broken line should start.
|
|
// The column at which the text of a broken line should start.
|