Re: Smart quotes patch

From: Martin Sevior <martines_at_unimelb.edu.au>
Date: Tue Feb 05 2008 - 02:57:42 CET

Hi Bobby,
         Thank you very much for your patch. It's great to get
contributions like this out of the blue. My recollection was that the
previous implementation of Smart Quotes had serious trouble when
interacting with undo/redo. (I believe that there were oscillations
between to smart and back again.)

Have you tested your patch with undo/redo? Did you see this sort of
effect?

Cheers

Martin

On Mon, 2008-02-04 at 20:43 -0500, Bobby Weinmann wrote:
> I have attached a diff to fix/implement smart quotes. I used svn
> diff, so if I did it wrong, please let me know.
>
> All I did was change rule #7 (see fl_DocLayout.cpp) so that quotes in
> isolation are changed to opening quotes.
>
> I added GUI support for GTK+. I could do Windows myself, but I would
> need help for Cocoa and anything else that is currently supported.
>
> I am willing to do more, but I wanted to see if smart quotes would be
> rejected outright. I think it works well, but I don't know how the
> regular developers feel.
>
> In particular, I was thinking of:
> * An option to always convert backtick to left-single-quote and
> apostrophe to right-single-quote. This would allow easy manual entry
> of smart quotes which are tricky because a word can sometimes start
> with an apostrophe (like, "go get 'em")
> * Allow smart quotes to be turned off just for single-quotes (like OOo
> and Word).
> * Add a toolbar button to toggle between smart quotes and ASCII quotes.
>
> Bobby
Received on Tue Feb 5 04:54:22 2008

This archive was generated by hypermail 2.1.8 : Tue Feb 05 2008 - 04:54:22 CET