mwolff created this revision. Restricted Application added projects: Kate, Frameworks. Restricted Application added a subscriber: Frameworks. mwolff requested review of this revision.
REVISION SUMMARY This ensures the code completion tree and the argument hint tree have the same width in the usual case. In abnormal cases the argument hint tree could become larger, but in practice this doesn't happen as most hints are also valid completion items in turn, thus show up there too and are properly accounted for in the requested width. Additionally ensure the geomtries stay in sync, when the completion list is moved or resized. Without this patch, the argument hint list is often narrower than the completion list, which looks odd I think. REPOSITORY R39 KTextEditor BRANCH master REVISION DETAIL https://phabricator.kde.org/D9766 AFFECTED FILES src/completion/kateargumenthinttree.cpp src/completion/katecompletionwidget.cpp src/completion/katecompletionwidget.h To: mwolff Cc: #frameworks, michaelh, kevinapavew, ngraham, demsking, cullmann, sars, dhaumann