Bug 135409 - cstyle indenter indents after first line in C/C++ highlighted file
Summary: cstyle indenter indents after first line in C/C++ highlighted file
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-10 21:09 UTC by Leo Savernik
Modified: 2006-10-10 21:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.