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

            Bug ID: 441278
           Summary: folding bug when editing markdown
           Product: kate
           Version: 21.04.0
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: folding
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: gha...@126.com
  Target Milestone: ---

SUMMARY

When folding markdown code according to the level of title, the higher level of
title is folded into the lower level

STEPS TO REPRODUCE
1. Input markdown code like ``# Hello \n ## World \n # Bye \n ## Evil''
2. Folding the line ``## World'', you will find the ``# Bye'' is folded.

OBSERVED RESULT
(There is no downward in ASCII, I use ^ to mean the unfolded line)
^ # Hello
> ## World
^ ## Evil

EXPECTED RESULT
(There is no downward in ASCII, I use ^ to mean the unfolded line)
^ # Hello
> ## World
^ # Bye
^ ## Evil

SOFTWARE/OS VERSIONS
Windows: Windows 10 20H2
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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

Reply via email to