Bug 350974

Summary: Kate code folding doesn't work for functions in Python if comment after
Product: [Applications] kate Reporter: Alexey Shildyakov <ashl1future>
Component: foldingAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ilmari.lauhakangas
Priority: NOR Keywords: triaged
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexey Shildyakov 2015-08-04 20:01:49 UTC
Folding for functions doesn't work if the next line of function definition is commented.

Reproducible: Always

Steps to Reproduce:
Just open Kate with the following code:
def func():
  # comment
  statement

Actual Results:  
No folding presented

Expected Results:  
Folding for function should be presented

Kate version 3.14.10
Comment 1 Buovjaga 2016-06-25 14:48:00 UTC
Works for me. Please test with latest version.

Arch Linux 64-bit
Kate 16.04.2
KDE Frameworks 5.23.0
Qt 5.7
xcb wm
Comment 2 Andrew Crouthamel 2018-09-26 22:21:02 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Alexey Shildyakov 2018-09-27 05:12:51 UTC
Confirm it works with 17.12.3