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

            Bug ID: 405197
           Summary: KTextEditor : c004f3f787b2b6fd8a1c82a66410f5cb39febf18
                    breaks patch/.diff file folding
           Product: frameworks-ktexteditor
           Version: unspecified
          Platform: Compiled Sources
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: rjvber...@gmail.com
  Target Milestone: ---

Created attachment 118636
  --> https://bugs.kde.org/attachment.cgi?id=118636&action=edit
unfolded example diff

SUMMARY
I noticed that KTE folding toplevel nodes in git-style patchfiles is broken in
master/head, and traced that to #c004f3f787b2b6fd8a1c82a66410f5cb39febf18 .

STEPS TO REPRODUCE
1. install any KTE version after #c004f3f787b2b6fd8a1c82a66410f5cb39febf18
2. open a patchfile created by `git diff` in Kate or KDevelop
3. folder the toplevel nodes

OBSERVED RESULT
See screenshot 2


EXPECTED RESULT
See screenshot 3

ADDITIONAL INFORMATION
Similar garbling would occur from time to time when applying changes
(externally?) to files while folded.

Reverting the commit restores the expected behaviour.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to