Community
Participate
Working Groups
Created attachment 276683 [details] a java source file and its screen shots on 4.7 and 4.8. It difficult to describe the bug, please see the attachment files. It's okey on eclipse 4.7.3-, and wrang on eclipse 4.8/4.9/4.10。 Only JDT's java editor has this problem. JSDT's java script editor is okey.
Kalyan, please check whether you can reproduce and also test in the Text editor.
Maybe a Platform UI bug. see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=542726
(In reply to Dani Megert from comment #1) > Kalyan, please check whether you can reproduce and also test in the Text > editor. Ping!
I was able to reproduce this issue in 4.8 and 4.9 But I was not able to reproduce this issue in 4.10 This issue seems to have been fixed in 4.10. So, resolving this issue as WORKSFORME Please repoen this issue if you are still facing this problem in 4.10 along with steps to reproduce.
Created attachment 277015 [details] snaps in 4.10 both java editor and Text editor and Generic text editor in 4.10 have the problem. see the new snap images.
sorry, the reproducing steps are uncertain. please open the A.java use java editor, if it is right, close it and reopen it with java editor or text editor. and also open/close the .project or .classpath file intermittently, after many retry times, A.java maybe displayed abnormally. once it display abnormally, it never become correctlly even if continue to close and reopen many times. In 4.8 and 4.9, I never see the Text editor and Generic text editor have this problem, only java editor has the problem.
Can you also provide the details of the encoding being used. Right click on the project, open properties -> Resources and provide a snapshot of the "Text file encoding" . I have used "UTF-8"
Yes, it's UTF-8 encoding.
Maybe you have installed some additional stuff that's causing this. Please try with https://download.eclipse.org/eclipse/downloads/drops4/R-4.10-201812060815/ and a new workspace. What JRE are you using?
I have used a clean eclipse 4.10 without any dropins. OS is Windows 10 1607 64bit. JDK is oracle Java SE 8u192.
(In reply to sunx well from comment #10) > I have used a clean eclipse 4.10 without any dropins. Did you try with the one from comment 9?
I think that I have already tried it. I use the package from here: ftp://mirrors.ustc.edu.cn/eclipse/eclipse/downloads/drops4/R-4.10-201812060815/eclipse-SDK-4.10-win32-x86_64.zip And surely with a new clean workspace.
See also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=536562
Which font are you using? Kalyan, please check with Niraj whether this is the same as bug 536562.
(In reply to Dani Megert from comment #14) > Which font are you using? > > Kalyan, please check with Niraj whether this is the same as bug 536562. Using Consolas, it's default on windows OS.
*** This bug has been marked as a duplicate of bug 536562 ***
Created attachment 277579 [details] wrang dispaly with Courier New font also. I think it has nothing to do with Consolas font. Because it's wrang with other font such as Courier New. please pay attention to this bug.
wrong dispaly with Courier New font also. I think it has nothing to do with Consolas font.
the same problem like my problem https://bugs.eclipse.org/bugs/show_bug.cgi?id=544750 open my javafile and your javafile all display abnormal when i install or uninstall eclipse explorer in marketplace and restart they two display normal file->restart again,they display abnormal again
*** This bug has been marked as a duplicate of bug 526802 ***