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: | Custom fold is not recognized | ||
---|---|---|---|
Product: | editor | Reporter: | stwr |
Component: | Code folding | Assignee: | Svata Dedic <sdedic> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 7 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Custom fold recognized
Custom fold not recognized |
Description
stwr
2015-08-29 07:05:28 UTC
Created attachment 155736 [details]
Custom fold recognized
Created attachment 155737 [details]
Custom fold not recognized
The testcase is somewhat screwed up: a fold should not be recognized if the start and end mark ends within the same line comment (= the same token). The original testcase tells to press enter in between marks, which separate them into two lines -> two linecomments => both marks should be read and paired into a fold. This modification checks marks on the same line = within the same comment, which is not supported. Downgrading, rather a corner case. |