- This topic has 7 replies, 2 voices, and was last updated 18 years, 2 months ago by
Amos.
-
AuthorPosts
-
AmosMemberWhen looking at the split Design/Source view (a JSP in my case), the Design view doesn’t refresh properly. Whenever I cut or paste several lines of html, it gets its knickers in a twist and displays all my Java code as if it were plain text. Seems it simply ignores the ‘<%’ and ‘%>’ markers. After I manually refresh, it looks fine again.
Have to say, though, I still love the fact that JSPs in Version 5 load so much quicker than in Version 4, and that the design view starts up and refreshes much quicker as well… 🙂
April 16, 2007 at 9:14 pm #268926
AmosMemberUpdate: Just noticed that the problem described above only occurs if cutting/pasting lines that directly border on a ‘<%’ or ‘%>’ marker, otherwise (i.e. if I cut/paste lines of HTML code surrounded by other HTML code) it refreshes just fine. (Hope that makes sense…)
April 19, 2007 at 2:45 am #269073
Loyal WaterMemberaaamos,
Could you please go to MyEclipse > Installation Summary > Installation Details and paste that information here for me please.Thanks.
April 19, 2007 at 2:51 am #269074
AmosMemberSure, here goes… (does that mean you don’t get the same behaviour?)
*** Date: Thursday, 19 April 2007 03:49:40 PM GMT+08:00 ** System properties: OS=Windows2000 OS version=5.0 Java version=1.5.0_08 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 5.1.1 GA Build id: 20070302-5.1.1-GA *** Eclipse details: MyEclipse Enterprise Workbench Version: 5.1.1 GA Build id: 20070302-5.1.1-GA Eclipse Platform Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK Build id: M20070212-1330 Eclipse RCP Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U Build id: M20070212-1330 Eclipse Java Development Tools Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9- Build id: M20070212-1330 Eclipse Project SDK Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s Build id: M20070212-1330 Eclipse Graphical Editing Framework Version: 3.2.2.v20070208 Build id: 20070208-1315 Eclipse startup command=-os win32 -ws win32 -arch x86 -launcher W:\MyEclipseInstalls\MyEclipse 5.1.1 GA\eclipse\eclipse.exe -name Eclipse -showsplash 600 -exitdata 130_78 -vm W:\MyEclipseInstalls\MyEclipse 5.1.1 GA\jre\bin\javaw.exe
April 24, 2007 at 2:56 am #269273
Loyal WaterMemberCan you please post a sample for me so that I can try reproducing this issue at my end?
Thanks.
April 24, 2007 at 3:16 am #269274
AmosMemberVery simple…
1) Create a file test.jsp with nothing but the following in it:
<% if (true) { %> <p>some text...</p> <% } // end if true %>
2) Open the file if you haven’t already and change into split Design/Source view. The Design panel displays the tag symbols with “some text…” in the middle.
3) Select the text in the p tag including the tag itself, i.e. the entire 4th line (so that you’re bordering on the ‘<%’ and ‘%>’ tags as mentioned in a previous post).
4) Cut (Ctrl+X or however you prefer to cut text).
5) Notice that the Design panel displays something like the following:
if (true) { } // end if true
i.e. the Design view needs to be refreshed before it displays properly again (contents instead of code).
Hope that helps reproduce it…
Cheers,
Amos
April 24, 2007 at 12:37 pm #269320
Loyal WaterMemberHi aaamos,
I’m logging this bug for my dev team. I’ll get back to you with an update soon as possible.May 11, 2007 at 9:44 pm #269992
AmosMemberThanks Nipun 🙂
-
AuthorPosts