[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 287291] regression: crash in KateCodeFoldingTree::getLineDepth
From:       Milian Wolff <mail () milianw ! de>
Date:       2011-11-22 23:01:49
Message-ID: E1RSzLZ-0007il-Vh () bugs ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=287291


Milian Wolff <mail@milianw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Milian Wolff <mail milianw de>  2011-11-22 23:01:49 ---
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

--- Comment #2 from Milian Wolff <mail milianw de>  2011-11-22 23:01:49 ---
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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic