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.
Summary: | Code folding. Inner block expanded instead of outer | ||
---|---|---|---|
Product: | editor | Reporter: | Alexander Pepin <apepin> |
Component: | Code folding | Assignee: | issues@editor <issues> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Alexander Pepin
2007-09-03 16:27:23 UTC
This happens only if comment is present after the #endif directive Currently this is a default Netbeans behavior: org.netbeans.editor.ActionFactory has a method getLineFold which looks for nearest Fold using carret position, if all folds are collapsed as we have in this issue, it gets the nearest (class B in our case). Anyway it could have found the nearest using only end position or something like that. Reassigning to Netbeans Editor. P4 imo Resolving all issues with milestone "future" as LATER. If you feel strongly that it should be implemented please reopen and set the target milestone to "next". NetBeans.org Migration: changing resolution from LATER to WONTFIX |