Fix align of doxygen comments in templates
Summary:
After
https://bugs.kde.org/show_bug.cgi?id=360456
https://cgit.kde.org/ktexteditor.git/commit/?id=58baf7c318d4641a243ea18f04ef15ee017509e3
the align of doxygen comments in templates stopped working.
Without the patch:
/** * foo */ void foo();
with the patch:
/** * foo */ void foo();
NOTE: this does not break 360456, a unittest for this is already present
Test Plan:
Original test:
- start kdevelop
- open any c/cpp file with functions
- select the function / click in the name
- Code -> Document Declaration
-> not properly align
Newly added testcase:
- ./bin/templatehandler_test testAlignC
Old test:
- ./bin/kateindenttest testCstyle:360456
Reviewers: KTextEditor, dhaumann
Reviewed By: KTextEditor, dhaumann
Subscribers: cullmann, kwrite-devel, kde-frameworks-devel
Tags: Kate, Frameworks
Differential Revision: https://phabricator.kde.org/D16018