colorizer bug after move-lines-up into a docstring

Bug #799695 reported by Edward K. Ream
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
leo-editor
Fix Released
Low
Edward K. Ream

Bug Description

After move-lines-up on a python line to move it into a docstring, the syntax coloring does not end properly after the closing quotes of the docstring anymore (everything below gets green).

Before:

        @language python

        def test():

            """ a
            b
            c
            """

            print 1
            print 2

After using move-lines-up on the "print 1" line:

    @language python

    def test():

        """ a
        b
        c
        print 1
        """

        print 2

Changed in leo-editor:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Edward K. Ream (edreamleo)
Changed in leo-editor:
milestone: none → 4.10-b1
Revision history for this message
Edward K. Ream (edreamleo) wrote :

Fixed at rev 5080. Added a weak unit test.

Changed in leo-editor:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.