diff options
author | Lorenz Haas <lykurg@gmail.com> | 2015-02-09 20:06:27 +0100 |
---|---|---|
committer | Lorenz Haas <lykurg@gmail.com> | 2015-02-27 18:18:49 +0000 |
commit | 88ee2bfb641c17ea5ad942558c9c9d40eb118a04 (patch) | |
tree | 5e99bf55109d709af399ceaf7387ad871e83da2d /src/plugins/cppeditor/cppdoxygen_test.cpp | |
parent | 0ef651240d7a3ad1c3160ec51f192973437f820f (diff) |
CppEditor: Preserve indent during Doxygen continuation handling
Change-Id: I30bba610fbe03fbfd9bc987805c57df6035d1c36
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'src/plugins/cppeditor/cppdoxygen_test.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppdoxygen_test.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cppdoxygen_test.cpp b/src/plugins/cppeditor/cppdoxygen_test.cpp index 6a258f2dfc..01fc5bf2a8 100644 --- a/src/plugins/cppeditor/cppdoxygen_test.cpp +++ b/src/plugins/cppeditor/cppdoxygen_test.cpp @@ -205,6 +205,17 @@ void DoxygenTest::testBasic_data() " int a;\n" ); + QTest::newRow("cpp_styleA_indented_preserve_mixed_indention_continuation") << _( + "\t bool preventFolding;\n" + "\t /// \brief a|\n" + "\t int a;\n" + ) << _( + "\t bool preventFolding;\n" + "\t /// \brief a\n" + "\t /// \n" + "\t int a;\n" + ); + /// test cpp style doxygen comment continuation when inside a indented scope QTest::newRow("cpp_styleA_indented_continuation") << _( " bool preventFolding;\n" |