Re: PATCH: Bug #7975 and Toggling

2012-01-22 Thread Jack Tanner
Richard Heck comcast.net> writes: > > Comments welcome. I guess maybe I'd suggest this is trunk only, rather > than changing this kind of thing in a maintenance release. The current behavior is so bizarre, I never use the toggle feature. I'd be happy to see it on branch.

PATCH: Bug #7975 and Toggling

2012-01-22 Thread Richard Heck
The attached patch changes LyX's toggling behavior in the way suggested by JMarc in earlier discussions of this bug. For EMPH, e.g., we check the first letter of the selection and then set the entire selection to the opposite. We do the same for all other toggled features. Comments welcome.