[Doxygen-users] How to configure line-indent while using @dontinclude or @snippet
Brought to you by:
dimitri
From: <Eck...@t-...> - 2013-09-18 18:12:28
|
Hello Everybody. I use the commands @dontinclude or @snippet to insert source-examples into my documentation. This examples are greater sources in c, python or other programming-languages or parts of xml-files. The original texts contain a lot of indented lines what means most of the original lines contain more than one spaces at the beginning. But in my html-output of Doxygen the indention is not shown. If I use @verbinclude the original source format is used but unfortunately @verbinclude supports not to include only parts of the text. If you take a look to the example of @dontinclude in the documentation of Doxygen (1.8.5) you will see the same effect. If you compare the indention of the used source to include with the included lines you will see there is no indention in the included lines. Thus It may be a bug. I know that in earlier versions of Doxygen @dontinclude was able to show the original indention of the included text. For example if I use Doxygen 1.4.x it works but since some releases I'm not able to show the original indention any more. What is my mistake? Is there a parameter I have to use now? Is there something in the configuration-file I have to configure? Best regards, Eckard Klotz. |