Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317672 - Typing single quote shouldn't automatically insert pair outside of tags.
Summary: Typing single quote shouldn't automatically insert pair outside of tags.
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.html (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M6   Edit
Assignee: Rakesh CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-23 05:28 EDT by Nitin Dahyabhai CLA
Modified: 2011-02-18 15:13 EST (History)
3 users (show)

See Also:


Attachments
patch (1.96 KB, patch)
2010-09-09 06:23 EDT, Rakesh CLA
no flags Details | Diff

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