Bug 109681

Summary: Smart caret positioning at line start and end
Product: [WebTools] WTP Source Editing Reporter: Fyodor Golos <bugzilla>
Component: jst.jspAssignee: Amy Wu <for.work.things>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P4 CC: b.muskalla, david_williams
Version: 0.7Keywords: helpwanted
Target Milestone: 2.0 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 72957    
Bug Blocks:    

Description Fyodor Golos CLA 2005-09-15 18:31:46 EDT
From Java Editor User Guide: "If enabled, the Home and End commands jump to the
first and last non whitespace character on a line."

It would be helpful to have this functionality while editing JSP files as well.
Comment 1 David Williams CLA 2005-09-15 18:42:14 EDT
Amy, is this a "partiontype" aware function (yet) .. or, guess maybe it 
should be "any" source text should behave this way? 
Comment 2 Amy Wu CLA 2005-09-16 10:49:07 EDT
No, this is currently a Java editor only function (see 
JavaEditor#SmartLineAction)  So it looks like we cannot pick it up for free.  
I found a bug on jdt that mentions making the smart home/end more 
configurable, and added a comment saying that if it is configurable, it should 
be pushed down to base.  See bug 72957.
Comment 3 David Williams CLA 2006-06-08 03:16:37 EDT
marking as dependent on 72957, as it would be much easier for us to use a service utility. 

barring that, if someone from the community would like to help "replicate" the JDT function in the SSE family of editors, that'd be great. 

I've set as P4 just to indicate this isn't on our immediate radar ... but consistency is a very high priority. 

Comment 4 Amy Wu CLA 2007-02-14 13:42:15 EST

*** This bug has been marked as a duplicate of bug 117866 ***
Comment 5 Amy Wu CLA 2007-03-15 18:21:44 EDT
done