Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 108914

Summary: [syntax highlighting] Semantic highlighting not always shown in ClassFileEditor
Product: [Eclipse Project] JDT Reporter: Christof Marti <christof_marti>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Christof Marti CLA 2005-09-07 04:34:32 EDT
I20050906-1200

The following usually HALTs within 10 iterations:

openType("JavaCore"); // which is binary-imported into my workspace
while (isSemanticHighlightingShown()) {
	closeEditor();
	navigateBack();
}
Comment 1 Dani Megert CLA 2005-09-07 04:38:15 EDT
Can you give more details? Steps to reproduce using the UI?
Comment 2 Christof Marti CLA 2005-09-07 08:57:23 EDT
The pseudo-code in comment 0 are the steps to reproduce manually. Sorry for the
misguided creativity ;-)
Comment 3 Dani Megert CLA 2005-09-07 09:30:49 EDT
Can reproduce now.

My first guess was a missing AST but the AST is there since occurrence marking
works.
Comment 4 Markus Keller CLA 2005-09-12 13:42:59 EDT
I also see this in M20050907-1200 with steps:
  openType("java.lang.Class"); closeEditor(); navigateBack();

It works again if Open Type is used to open the editor (instead of navigateBack).
Comment 5 Dani Megert CLA 2006-02-21 10:12:21 EST

*** This bug has been marked as a duplicate of 119326 ***