Kevin Yank wrote:
>> * Method 2) Bind typed character "'" (ASCII apostrophe) to a command
>> which inserts a U+2019 when the caret is preceded by "can", "you" and
>> "don", "aren", "isn", etc.
>>
>> See http://www.xmlmind.com/xmleditor/_distrib/doc/configure/binding.html
>> See
>> http://www.xmlmind.com/xmleditor/_distrib/doc/dev/command2.html#d0e2844
>>   
> We already have a "smart" Java command in place that does this. It makes
> a "best guess" about the type of single quote desired given the context,
> and then cycles through the three possibilities if the user repeatedly
> types the "'" key. We have similar commands for double quotes (left,
> right, straight), dashes (hyphen, em, en), and ellipses (horizontal,
> vertical, three periods).

Fine.

> I don't see what this has to do with spell checking, however.
>> * Method 3) Write a documentHook which does this replacement each time
>> the document is saved.
>>
>> See http://www.xmlmind.com/xmleditor/_distrib/doc/dev/documenthook.html
>>   
> Again, this doesn't seem to address the spell checking issue, as the
> words would show up misspelled the next time the document was opened.
> 

You are right. This has nothing to do with the spell checking issue. I
think I've focused my attention on your sentence:
`` Any chance of adding the necessary logic for these two characters
(U+2019, U+0027) to be used interchangeably (with ASCII apostrophe
U+0027) in words like ?can?t?, ?you?re? and ?don?t?? ''.  Sorry for that.


Reply via email to