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

            Bug ID: 423921
           Summary: Unable to collapse Python functions with multi-line
                    function definitions
           Product: kate
           Version: 20.04.2
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: part
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: aayush.agarwal...@yahoo.com
  Target Milestone: ---

SUMMARY:

After writing a Python function name with multiple arguments so that I need to
use two or more lines to complete it (to keep line lengths under control), I am
unable to collapse the part of the text dealing with its implementation.

STEPS TO REPRODUCE
1. Open or create any file containing python code
2. Look for or write a function (ie. def fn(args): ) that you complete in
multiple lines
3. Click on the down arrow before the name of the function.

OBSERVED RESULT

The function's implementation does not collapse.

EXPECTED RESULT

The details of the function should collapse and only the function definition
should be visible until the arrow is clicked again to expand the function
details.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: OpenSUSE Tumbleweed
(available in About System)
KDE Plasma Version: 5.19.2
KDE Frameworks Version: 5.71.0
Qt Version: 5.7.5-1-default

ADDITIONAL INFORMATION

I have faced this in older snapshots of Tumbleweed as well, this is just the
latest installed snapshot. Python functions written in a single line collapse
as normally expected.

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

Reply via email to