Andre,

Please format the attached file and send it back to me.

Questions:

1. Do we use space for alignment? When do we use tab?
2. Do we align to ( of function call and/or definition? Or do we only
use indentation?
3. How do we treat the format of nested function calls?

I will program your answer in terms of uncrustify.cfg.

Thanks.
Bo
void Buffer::insertStringAsLines(ParagraphList & pars,
                                 pit_type & pit, pos_type & pos,
                                 int p)
{
	FileName const fname(addName(temppath(),
	        onlyFilename(changeExtension(filename,
	                ".log"))));
	FileName const bname(addName(path, onlyFilename(
	            changeExtension(filename,
	                formats.extension("literate") + ".out"))));

	ALongNestedFuncCall(func1(para1,
	        para2), para2,
	    para3);

	ALongFuncCall(parameter1,
	    parameter2,
	    parameter3);

	Alert::error(_("Can't load document class"), bformat(
	        _("Using the default document class, because the "
	            "class %1$s could not be loaded."), from_utf8(theclass)));
	params().setBaseClass(defaultTextclass());
}


Reply via email to