This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 164815 - Python decorator syntax breaks code folding
Summary: Python decorator syntax breaks code folding
Status: CLOSED WORKSFORME
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-09 20:37 UTC by sirclueless
Modified: 2017-06-23 08:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sirclueless 2009-05-09 20:37:08 UTC
When there is a python decorator preceding a function or class definition, code folding breaks in the following ways:

1. Collapsing the section leaves no '+' sign next to the collapsed code to expand. Shortcuts and the view menu still 
can expand it.
2. Expanding or collapsing a section with a decorator breaks all other expand/collapse sections within the document 
until text is changed, presumably when NetBeans re-parses the document.
Comment 1 Jenselme 2017-06-22 21:47:12 UTC
This looks good now. Closing this.
Comment 2 Jiri Kovalsky 2017-06-23 08:06:17 UTC
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.