Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317672

Summary: Typing single quote shouldn't automatically insert pair outside of tags.
Product: [WebTools] WTP Source Editing Reporter: Nitin Dahyabhai <thatnitind>
Component: wst.htmlAssignee: Rakesh <rakes123>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: nsand.dev, rakes123, sarika.sinha
Version: 3.2   
Target Milestone: 3.3 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

Description Nitin Dahyabhai CLA 2010-06-23 05:28:57 EDT
It makes it very annoying when typing content that requires a single apostrophe, such as anything being suffixed with "'s".
Comment 1 Rakesh CLA 2010-07-23 09:01:51 EDT
Hi Nitin, could you provide little more detail on how to reproduce it?
Comment 2 Sarika Sinha CLA 2010-09-08 03:00:21 EDT
Rakesh,
Here the problem is if you type "that" and then a single apostrophe "'", it automatically inserts a second apostrophe. "that''". But you actually wanted to write "that's" so you will have to remove the second auto generarted single autostrophe.
Comment 3 Rakesh CLA 2010-09-09 06:23:45 EDT
Created attachment 178498 [details]
patch

only one single quote will appear in content.
Comment 4 Nick Sandonato CLA 2011-02-18 15:12:54 EST
Comment on attachment 178498 [details]
patch

I simplified the logic in the checkRegions. It should only ever really concern itself with pairing for attribute regions. Thank you for the patch, though.
Comment 5 Nick Sandonato CLA 2011-02-18 15:13:18 EST
Checked in my changes.