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

Jaime Torres <jtam...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |REPORTED
         Resolution|WAITINGFORINFO              |---

--- Comment #4 from Jaime Torres <jtam...@gmail.com> ---
I've seen how to reproduce it.
Create a trivial python program, for example:

class Test:
    # line added

    def __init__(self):
        a = '''
            Some text
        '''

    def test(self):
        # line added

        # line added
        for i in range(10):
            print('hello world')

            with open('test.py') as f:
                lines = f.read()

fold it in the for loop
save the session and close kate
modify the file with another editor and insert one blank line where there was
already one:

class Test:
    # line added


    def __init__(self):
        a = '''
            Some text
        '''


    def test(self):
        # line added


        # line added
        for i in range(10):
            print('hello world')


            with open('test.py') as f:
                lines = f.read()

Open kate and the folding is gone crazy (like in the attached screenshot). But
can not easily reproduce the crash.

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

Reply via email to