[texworks] Quotemarks chr(34)

Jonathan Kew jfkthame at googlemail.com
Sat Sep 19 12:37:10 CEST 2009


On Fri, Sep 18, 2009 at 10:34 AM, Jonathan Kew <jfkthame at googlemail.com> wrote:
>>> I think you'll find that the "smart quotes" function only applies to text
>>> *as it is typed*; it won't modify existing text, or fix up blocks of text
>>> that you're pasting into the document.
>>
>> No it works with text created, for example, in jEdit with ", copied and
>> pasted to TeXworks and then "passing the cursor over the text" with Smart
>> quotes enabled. (tested)
>
> Oh! I'm surprised at that; in fact, I'm inclined to consider it a bug. But I
> should think about it a bit more...

Yes, this was not intended behavior, it was an oversight in the
implementation. I consider it a bug that simply moving the cursor
forward through the text can result in the text getting changed; this
is not appropriate behavior in an editor.

I've just committed a change (r.422) to fix this, so this "feature"
will disappear from future builds. "Smartening" existing quotes should
be an explicit action, not something that happens as a side effect of
moving the cursor. :)

JK


More information about the texworks mailing list