summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/pp-engine.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-07-17 07:32:29 +0200
committerhjk <hjk@qt.io>2020-07-17 12:44:41 +0000
commit536dd779fca8503864bc64ffb8af74993a9af5d2 (patch)
tree8831c9c7fbd9f518944da75ef0d03859c6d7b171 /src/libs/cplusplus/pp-engine.cpp
parent4db32606e0ef0d7d9ff88a8898fe30608fea144f (diff)
downloadqt-creator-536dd779fca8503864bc64ffb8af74993a9af5d2.tar.gz
Core: Improve handling of long output chunks
Single chunks exceeding the limit were truncated and then shown in a single line, potentially resulting in only a few chars if there was a newline close to the cut-off point. Now, don't restrict to a single line in that csae. Additionally elide in the middle, assuming this is a better compromise than truncating at either end. Also, make the truncation more obvious, and mention the amount of elided characters. Change-Id: I850e2833e7f1f8be0f584d8e4439dd1a64f851d0 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/libs/cplusplus/pp-engine.cpp')
0 files changed, 0 insertions, 0 deletions