Bug 422200 - [projection] Folding marks persist even on unfolded elements
Summary: [projection] Folding marks persist even on unfolded elements
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-20 18:03 EST by Palmer Eldritch CLA
Modified: 2023-03-16 19:44 EDT (History)
1 user (show)

See Also:


Attachments
folding marks persist (36.37 KB, image/jpeg)
2013-11-20 18:03 EST, Palmer Eldritch CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Palmer Eldritch CLA 2013-11-20 18:03:57 EST
Created attachment 237600 [details]
folding marks persist

I think I managed to create a reproducer :

class Test {

	static class FoldMe {

		static void method() {}
	}

	public static void main(String[] args) {
		FoldMe f = new FoldMe();
		f.newMethod();
	}
}
 

Fold class FoldMe and then type the main as pictured. You will get an error on f.newMethod();. Hit Ctrl+1 and choose create method newMethod() in type FoldMe
Get the results in the attached picture.

Had reported this in https://bugs.eclipse.org/bugs/show_bug.cgi?id=403358 and it is an issue with the patch at https://bugs.eclipse.org/bugs/show_bug.cgi?id=60929

Related https://bugs.eclipse.org/bugs/show_bug.cgi?id=94679

Hope you'll pin it this time
Comment 1 Eclipse Genie CLA 2019-03-17 12:35:34 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Dani Megert CLA 2019-03-22 12:40:32 EDT
Still broken in 4.11.
Comment 3 Eclipse Genie CLA 2021-03-13 15:07:52 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Eclipse Genie CLA 2023-03-16 19:44:13 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.