Bug 69160 - Edit Code Error
Summary: Edit Code Error
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2004-07-01 13:43 EDT by Jem.Lee CLA
Modified: 2007-06-22 10:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jem.Lee CLA 2004-07-01 13:43:15 EDT
When I edit a class file,and open it in java perspective ,code like these
[/*
 * Created on 2004-6-27 by Jem.Lee <—›�ŽŠì>
 *
 * MainClass.java is a part of com.jem.test 
 * ALL RIGHTS RESERVED.
 * COPYRIGHT (C) 2004. BuilderSoft.cn
 */
package com.jem.test;

/**
 * <PRE>
 * History
 * 2004-6-27 23:53:51 created by Jem.Lee <—›�ŽŠì>
 * 
 * –Ú“I
 * 
 * </PRE>
 */
public class MainClass {

	/**
	 * 
	 */
	public MainClass() {
		super();
	}

	public static void main(String[] args) {
		DocumentClass[] docClass = new DocumentClass[12];
		InitDataClass initClass = new InitDataClass();
		docClass = initClass.Init();
		System.out.print(docClass.toString());
	}
}
]
some times ,I double-click method's tag (on code view left tags),Code view have 
not right to show the code,codes should be to show in a measure,like these
[
public static void main(String[] args) {
		DocumentClass[] docClass = new DocumentClass[12];
		InitDataClass initClass = new InitDataClass();
		docClass = initClass.Init();
		System.out.print(docClass.toString());
	}
}
],but when I close class file,and re-open the class,the class up to snuff.
Comment 1 Dani Megert CLA 2004-07-06 12:36:17 EDT
I need more details to understand your problem:
- do you open a *.class file or a *.java file?
- what do you mean with "method's tag (on code view left tags)"?$
- what exactly happens when you reopen the file?
- which build are you using?
Comment 2 Dani Megert CLA 2004-07-13 09:33:05 EDT
waiting for user input
Comment 3 Dani Megert CLA 2007-06-22 09:58:52 EDT
Get rid of deprecated state.
Comment 4 Dani Megert CLA 2007-06-22 10:04:16 EDT
.