| Summary: | Support content assist escapePosition without linked mode | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> |
| Component: | Editor | Assignee: | John Arthorne <john.arthorne> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | eclipse.felipe, mamacdon |
| Version: | 0.4 | ||
| Target Milestone: | 0.4 M2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Felipe, I don't know if you and Silenio work in this area or Mark. If you are familiar with the code could you comment on this suggested fix: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?h=bug366956&id=013e8bbdcfb45e25c87320c2f7de8cd281225031 It is working well for me but maybe there is a better way to do it. (In reply to comment #1) > Felipe, I don't know if you and Silenio work in this area or Mark. not us, i think Mark. > > http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?h=bug366956&id=013e8bbdcfb45e25c87320c2f7de8cd281225031 > the code looks good to me I will just release and Mark can sanity check when he gets back. Pushed to master. Looks good. Hopefully the HTML content assist will let us flush out some more use cases where the content assist API needs to be improved. |
0.4 M1 The editor content assist support takes an input object that supplies a proposal string, an array of positions, and an escape position (see editorFeatures.js, line 737). I would like the provide HTML content assist where I support an escape position, but I do *not* want to enter linked mode at all. Something like this: {proposal: "<title></title>", escapePosition: selection.offset+7} I.e., insert the string <title></title> and leave the cursor inside the element This doesn't seem to work. I need to provide the linked mode positions as well as the escape position.