Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364948 - Compare editor missed "}" when showing comparison
Summary: Compare editor missed "}" when showing comparison
Status: RESOLVED DUPLICATE of bug 360985
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: libing wang CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-28 08:17 EST by Tomasz Zarna CLA
Modified: 2011-11-28 09:21 EST (History)
0 users

See Also:


Attachments
Screenshot (68.72 KB, image/png)
2011-11-28 08:19 EST, Tomasz Zarna CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2011-11-28 08:17:19 EST
I had a file with a rubbish content like this:

function main(args){
	var test1;
	test=0;
	test2fsdf
	ffjhhadoif
	alert("this is my js!");fasdf
	test("test");
	bllaaasdfasdfasdfasdf
}

changed it to:

function main(args){
	var test1;
	test=0;
	test2fsdf
	ffjhhadoif
	alert("this is my js!");fasdf
	test("test");
	bllaaasdfasdfasdfasdf
	//nowa
}

added "//nowa" just before closing "}", and committed the file. When working on bug 362323 I noticed that even though the diff looks like this:

diff --git a/gotom.js b/gotom.js
index 4fcb650..66ad8f9 100644
--- a/gotom.js
+++ b/gotom.js
@@ -6,4 +6,5 @@
 	alert("this is my js!");fasdf
 	test("test");
 	bllaaasdfasdfasdfasdf
+	//nowa
 }
\ No newline at end of file

the "}" is not displayed on the left side (see the attached screenshot).
Comment 1 Tomasz Zarna CLA 2011-11-28 08:19:21 EST
Created attachment 207598 [details]
Screenshot
Comment 2 libing wang CLA 2011-11-28 09:21:05 EST
(In reply to comment #1)
> Created attachment 207598 [details]
> Screenshot

Good catch, I think it is duplicated to bug 360985.

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