| Summary: | Unable to collapse Python functions with multi-line function definitions | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Aayush Agarwal <aayush.agarwal_wu> |
| Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | aayush.agarwal_wu, christoph, justin.zobel, waqar.17a |
| Priority: | NOR | ||
| Version First Reported In: | 20.04.2 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Python 3 example to demonstrate the bug | ||
|
Description
Aayush Agarwal
2020-07-06 07:05:22 UTC
Forgot to add that in case a function definition is in 3 or more lines, then collapsing only condenses the arguments, and not the entire function. Aayush can you please supply a sample snippet of code that we can use to test? Created attachment 132892 [details]
Python 3 example to demonstrate the bug
This is an example piece of code that demonstrates the bug I am facing. On clicking the down arrow key at the left of the function I am unable to collapse the contents inside these functions
(In reply to Justin Zobel from comment #2) > Aayush can you please supply a sample snippet of code that we can use to > test? Justin hopefully this example code works for you, but please let me know if you need any more information. Thanks for the example Aayush, that does help in confirming it and hopefully diagnosing the root cause. - 1st definition doesn't collapse fully - 2nd definition can't be collapsed at all - if collapses fine still reproducible *** This bug has been marked as a duplicate of bug 374570 *** |