Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
vict0r
4 Post subject: ME 4 JSP designer: double-click evaluates code commented out  PostPosted: Oct 06, 2005 - 10:32 PM
Registered Member
Registered Member


Joined: Sep 17, 2004
Posts: 128

I've distilled this from a several pages long piece of code: when double-clicking right after a opening/closing bracket, brackets in code commented out are evaluated/counted too.

Code:
<%@ page language="java" %>
<%
main_block: {               // DOUBLECLICK HERE: nothing happens
   if (true) {               // DOUBLECLICK HERE: it selects too much

//  ===> !!! if (false) {   // DOUBLECLICK HERE: !!! it selects something: wrong !!!

   }                     // DOUBLECLICK HERE: it selects not enough
   
}                        // DOUBLECLICK HERE: it selects not enough
%>


Eclipse Platform Version: 3.1.1 Build id: M20050929-0840
MyEclipse Version: 4.0.1 Build id: 20050930-4.0.1-GA
WinXP SP2 JDK & JRE 1.5.0_04

This has driven me nuts already in ME 4.0 with E 3.1
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Oct 07, 2005 - 09:03 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

vict0r I was able to reproduce this right away, thank you for the concise test case, I'm filing this now.

I have to admit, I've never used this functionality before, but I see why you find it so handy.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits