4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS.
15 #include "support/std_ostream.h"
18 struct NewLineAndDepth_ {
24 NewLineAndDepth_ newlineAndDepth(int n)
26 NewLineAndDepth_ nlad_;
33 std::ostream & operator<<(std::ostream & os, NewLineAndDepth_ const & nlad_)
35 os << std::string(nlad_.depth_, ' ');