Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 134320 - Improve template insertion
Summary: Improve template insertion
Status: RESOLVED WORKSFORME
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.sse (show other bugs)
Version: 1.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: wst.sse CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-31 16:02 EST by Amy Wu CLA
Modified: 2010-04-28 16:48 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 Amy Wu CLA 2006-03-31 16:02:17 EST
This is spawned off bug 115927.  Currently, when you insert a template, sometimes it overrides the first part of the text region where you are inserting the template.  For example:
<tag attr="abc|asdf" />
and insert an "attribute value" context template at | you end up with
<tag attr=TEMPLATEasdf" />
notice that "abc was overwritten by the template.

We should figure out what inserting a template should really do.  Is an attribute value context template meant to completely replace the attribute value that you inserted into?  Or is it just supposed to insert?

My thoughts are it should not replace and only insert.
Comment 1 Amy Wu CLA 2008-10-27 04:34:07 EDT
reassigning to inbox
Comment 2 Ian Tewksbury CLA 2010-02-16 14:54:40 EST
As of right now I can not even get any template suggestions in attribute value regions, maybe wait for Bug 258999 and see what the state of this is.
Comment 3 Nick Sandonato CLA 2010-04-28 16:48:19 EDT
Cannot reproduce.