Tracker: Bugs

5 Python heredoc syntax breaks syntax folding - ID: 2830766
Last Update: Tracker Item Submitted ( toledo )

Syntax folding does not work when part of a heredoc string start at the
first column, rather than the previous indentation level.

Example code:

def test():
a="""
text
"""
b=2

The code is valid. The a variable assignment is equivalent to a="\ntext\n".
Presently, when trying to fold the test function, it breaks at the first
newline of the heredoc.


Juan Toledo ( toledo ) - 2009-08-01 10:37

5

Open

None

Nobody/Anonymous

None

All

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.