Summary: | infinite loop in C style indenting mode | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Dennis Noordsij <dennis.noordsij> |
Component: | general | Assignee: | Leo Savernik <l.savernik> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | m.daub |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Test case for reported behaviour |
Description
Dennis Noordsij
2006-11-10 16:01:18 UTC
Created attachment 18490 [details]
Test case for reported behaviour
Turn on C highlighting and C-style indenting.
Load into Kate.
Go to end of "while" line (should be last line in test case).
Press enter twice.
Confirmed on r601002 sigh, not wondering why nobody dared to touch the indenter code for years Is that a regression we introduced by our recent changes, or does it exist in e.g. 3.5.0 as well? Testcase is wrong. I can only reproduce if no trailing newlines follow. Preparing fix. @Dominik: I think it is a recent regression. Otherwise, we'd have received such a bug much earlier. Leo: this is fixed with your commit r605213, right? Unfortunately it seems to be that I opened a duplicate of this bug-report: http://bugs.kde.org/show_bug.cgi?id=138791 Please have a look. Thanks! Indeed, already fixed for KDE 3.5.6 as of r605213. *** Bug 138791 has been marked as a duplicate of this bug. *** |