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 197677 - python code folding works for classes, but not for definitions
Summary: python code folding works for classes, but not for definitions
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Lou Dasaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-12 20:50 UTC by kpalsson
Modified: 2015-05-26 04:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
broken python code folding for function definitions (23.04 KB, image/png)
2011-04-12 20:50 UTC, kpalsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kpalsson 2011-04-12 20:50:56 UTC
Created attachment 107698 [details]
broken python code folding for function definitions

Despite what is shown at http://wiki.netbeans.org/Python#Code_Folding  pressing the "-" by a function definition folds the next function definition up to the end of the line.  Seems to work fine for class definitions.

See attached image
Comment 1 Lou Dasaro 2015-05-26 03:41:01 UTC
Unable to replicate problem. This was probably fixed as part of GSF to CSL conversion in Development. 
To retest, make sure you are using a recent DEVELOPMENT version of NetBeans IDE from 
http://bits.netbeans.org/download/trunk/nightly/latest/
AND with Python plugin installed from "Latest Build" update center at 
http://bits.netbeans.org/dev/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz