Summary: | regression: crash in KateCodeFoldingTree::getLineDepth due to c3cfaa0bf0b421802ff63a48b36242f7a3c2d87e | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Milian Wolff <mail> |
Component: | folding | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aleixpol |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Milian Wolff
2011-11-22 19:28:48 UTC
Git commit 3f33a653443a5af000d214e88b4479102a4f6cba by Milian Wolff. Committed on 23/11/2011 at 00:00. Pushed by mwolff into branch 'master'. fix another case of an empty list being added could be seen in the cstyle indenter tests CCBUG: 287291 M +6 -2 part/syntax/katecodefolding.cpp http://commits.kde.org/kate/3f33a653443a5af000d214e88b4479102a4f6cba Git commit 926e77999abc60e5dd736008af80cf36cd4666c3 by Milian Wolff. Committed on 22/11/2011 at 22:13. Pushed by mwolff into branch 'master'. never add empty lists in KateCodeFolding this was the implicit assumption already but did not work properly under some conditions, esp. adding a newline at the end of a line, which would trigger the insertion of an empty list for the newly inserted line BUG: 287291 M +10 -1 part/syntax/katecodefolding.cpp M +60 -0 part/tests/kateview_test.cpp M +2 -0 part/tests/kateview_test.h http://commits.kde.org/kate/926e77999abc60e5dd736008af80cf36cd4666c3 *** Bug 287204 has been marked as a duplicate of this bug. *** |