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 snippet viewer stopped to work for 7.0 | ||
---|---|---|---|
Product: | editor | Reporter: | Michel Graciano <hmichel> |
Component: | Code folding | Assignee: | Miloslav Metelka <mmetelka> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Code folding for 7.0
Code folding for 6.9 working as expected |
Description
Michel Graciano
2010-10-25 13:52:44 UTC
Well, I took a look at this to try to figure out what caused the regression and maybe write a patch but I was unable to fix it but looks like the fix for issue #183219 cause it, probably the changes at org.netbeans.modules.editor.lib2.view.DocumentView or org.netbeans.modules.editor.fold.FoldView. I hope this can help. Created attachment 102622 [details] Code folding for 7.0 Ok, I can make it work, not as I really expect, just reverting the changeset [1]. BTW, I will attach a screenshot reflecting what we had had until 6.9 (it is broken at 6.9.1 too). [1] http://hg.netbeans.org/main/rev/d401b5edcbfc Created attachment 102623 [details]
Code folding for 6.9 working as expected
Well, I get this image from issue #189233. It shows a code folding as we expect, it is shown at left side of editor as well with line numbers. Please, make the code folding as before :)
Thanks a lot
Integrated into 'main-golden', will be available in build *201010280000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/af1eb929a589 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #191312 - Code folding snippet viewer stopped to work for 7.0. v. Build 101028-050c46d18859 The problem is gone but the preview is not good as it was before. I file a new issue soon about this things. Thanks |