Bug 135409

Summary: cstyle indenter indents after first line in C/C++ highlighted file
Product: [Applications] kate Reporter: Leo Savernik <l.savernik>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Leo Savernik 2006-10-10 21:09:41 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Compiled From Sources

An unfortunate regression slipped into 3.5.5: All lines following the first line of a c-style indented C/C++ file will be treated as continuations up to the first opening curly brace.

Example file containing only this line (| denotes the caret):
// kate: indent-mode cstyle, hl c|

Hitting enter, I expect:
// kate: indent-mode cstyle, hl c
|

Yet I get:
// kate: indent-mode cstyle, hl c
    |

This is a placeholder bug report to show people that the bug is already fixed for 3.5.6. This should reduce real bug reports on that issue.
Comment 1 Leo Savernik 2006-10-10 21:38:00 UTC
I said it's fixed, so mark it fixed.