Bug 109681 - Smart caret positioning at line start and end
Summary: Smart caret positioning at line start and end
Status: CLOSED DUPLICATE of bug 117866
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows XP
: P4 normal (vote)
Target Milestone: 2.0 M3   Edit
Assignee: Amy Wu CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on: 72957
Blocks:
  Show dependency tree
 
Reported: 2005-09-15 18:31 EDT by Fyodor Golos CLA
Modified: 2007-03-15 18:21 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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