| Summary: | [content assist]content assist some times fails to insert the selected value | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Jim Zhang <jzhang> | ||||||
| Component: | wst.sse | Assignee: | Nick Sandonato <nsand.dev> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | nsand.dev, sarika.sinha | ||||||
| Version: | unspecified | Flags: | thatnitind:
review+
|
||||||
| Target Milestone: | 3.2.3 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Jim Zhang
Was able to consistently reproduce this problem. This happens only when the content assist option is selected the first time after <div align="" .If we again move the arrow key and select it works. It works fine if we select the content assist suggestion after typing <div align= Created attachment 180775 [details]
Patch to stop inserting pair for double quote if content assist popup is active
First Enter selection does not work from content assistant popup because of smart insertion of paired double quote. Attached patch prevents the automatic double quote pair insertion only if content assist popup is active.
Sarika, I'd like to expose as little protected stuff as possible. ISourceViewerExtension4 provides the capability of getting the content assist facade which will tell us when a content assist session starts and ends. Unfortunately, SourceViewer marks this method as final. It may also be advantageous to consider utilizing super.configure() a bit. Created attachment 181735 [details]
patch
Thanks for the review. Checked in. |