diff options
author | Semih Yavuz <[email protected]> | 2024-11-11 15:38:38 +0100 |
---|---|---|
committer | Semih Yavuz <[email protected]> | 2024-12-05 23:24:29 +0100 |
commit | 9f1fca90e7b760f54e5fb5689e662defb669c64b (patch) | |
tree | 7b4929c7496806c0933f85b803f696bc19ee8ca0 /tools/qmlformat/qmlformat.cpp | |
parent | 7736fdc9940878ce6bd9fb2f8b053f0b1258156e (diff) |
qmlformat: separate reindentAndSplit's concerns
This also changes the behavior of linebreak by combining the split
sequence in a single set. Prior to this commit, linebreak position was
attempted to be detected for a set of tokens. Then, if there is a left
paranthesis in the same line, that would take the split location.
Now change this logic so that break the line after the last token that
lays on column smaller than the allowed maximum width.
Task-number: QTBUG-113590
Change-Id: Ib0e7291a139265ab9bc09be0c574704da25fd722
Reviewed-by: Sami Shalayel <[email protected]>
Diffstat (limited to 'tools/qmlformat/qmlformat.cpp')
0 files changed, 0 insertions, 0 deletions