Bug 422200

Summary: [projection] Folding marks persist even on unfolded elements
Product: [Eclipse Project] JDT Reporter: Palmer Eldritch <the.ubik>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 4.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug
Attachments:
Description Flags
folding marks persist none

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.