int Alert::prompt(string const & title, string const & question,
- int default_button, int escape_button,
- string const & b1, string const & b2, string const & b3)
+ int default_button, int escape_button,
+ string const & b1, string const & b2, string const & b3)
{
if (!lyx_gui::use_gui || lyxerr.debugging()) {
- lyxerr << title
- << "----------------------------------------"
+ lyxerr << title << '\n'
+ << "----------------------------------------\n"
<< question << endl;
lyxerr << "Assuming answer is ";
void Alert::warning(string const & title, string const & message)
{
if (!lyx_gui::use_gui || lyxerr.debugging())
- lyxerr << "Warning: " << title
- << "----------------------------------------"
+ lyxerr << "Warning: " << title << '\n'
+ << "----------------------------------------\n"
<< message << endl;
if (lyx_gui::use_gui)
warning_pimpl(title, message);
void Alert::information(string const & title, string const & message)
{
if (!lyx_gui::use_gui || lyxerr.debugging())
- lyxerr << title
- << "----------------------------------------"
+ lyxerr << title << '\n'
+ << "----------------------------------------\n"
<< message << endl;
if (lyx_gui::use_gui)