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

            Bug ID: 405585
           Summary: Somewhere between Kate 17.12.3 and 18.12.2 code
                    folding changed
           Product: kate
           Version: 18.12.2
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: folding
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: prusselltechgr...@gmail.com
  Target Milestone: ---

Created attachment 118871
  --> https://bugs.kde.org/attachment.cgi?id=118871&action=edit
Kate code folding test files and results

SUMMARY:
Somewhere between Kate 17.12.3 and 18.12.2 code folding changed.

Referring to Code folding Menu:

    View > Code Folding > Fold TopLevel Nodes
    View > Code Folding > UnFold TopLevel Nodes

STEPS TO REPRODUCE
1. Install testkate.xml into one of the locations:

   * Kate 17: $HOME/.local/share/katepart5/syntax
   * Kate 18: $HOME/.local/share/org.kde.syntax-highting/syntax

2. Start Kate
3. Open the file testkate.txt
4. View > Code Folding > Fold TopLevel Nodes

OBSERVED RESULT
In Kate 17, the folding is correct, see (2) in testkate-codefolding.jpg.
In Kate 18, the folding is broken, see (3) in testkate-codefolding.jpg.

EXPECTED RESULT
Kate 18 code folding to look like Kate 17 code folding when using testkate.xml.

SOFTWARE/OS VERSIONS

Tested Environments (About > Kate > Libraries:)

    #1
    Kate 18.12.2 *broke* opensuse_tumbleweed manjaro
    KDE Frameworks 5.55.0
    Qt 5.12.0

    #2
    Kate 17.12.3 *worked* (opensuse_leap_15, linux_mint_19)
    KDE Frameworks 5.45.0
    QT 5.9.4

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

Reply via email to