| Summary: | source formatter inserts unexpected linefeed | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Rutger ter Borg <rutger> |
| Component: | Astyle | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Rutger ter Borg
2004-10-22 16:44:40 UTC
we'll need to know what settings you've used in the source formatter in order to reproduce this. I'm using "Kernighan & Ritchie", which disables any further choices for the source formatter. Or do you mean something different? nope, that's exactly what i meant. thanks. :)
Another case, which indents too much after the first {:
template<int N, typename Vector>
class gaussian: public std::binary_function<Vector,Vector,typename kml::power_return_type<N,Vector>::type> {
public:
};
in this case, the whole class is indented with about 8 spaces... If you change the return type of the std::public_function to something without ::'s (e.g. just a plain double), it is done correctly again.
|