LyX Developers:

Per Uwe's guidance, please find attached a proposed patch to address
enhancement request Ticket #10457.

Notes:

   - The attached patch was made on the master branch (per
   http://www.lyx.org/HowToUseGIT) and should lie neatly atop recent commit
   a9aaec5.  While this was made on master, I'm of course interested to see it
   get included in the soonest possible/reasonable release.  I leave it to the
   benevolent developer who commits on my behalf to determine when that is.
   - I've added a new button to the Math Delimiter GUI.  I'm not sure how
   to properly connect this to GUI translations.  Your help with this would be
   appreciated.
   - The button is titled "Swap & Reverse".  This is as intuitive as I
   could come up with, but suggestions for different names are welcome.
   - I've tested this by "clicking through" various permutations,
   enabling/disabling matching, etc. but created no additional tests.  I
   encourage you to click through and experiment to see if it breaks.  In
   particular, please exercise "(None)" with itself and other delimiters.
   This is a somewhat special case relative to how the other list item entries
   are handled and is probably the most fragile.
   - Along those lines: I tried to minimize creating new code /
   functionality, so I tried to use as much as is there already in LyX & Qt.
   Please see if you agree with my processing steps.
   - Note that arrows are matched with "like directions," e.g., \uparrow
   and \uparrow.  It is possible there would be confusion because the
   "reverse" of up should be \downarrow.  Thoughts on how to handle this?  Or,
   don't worry about it?

Please contact me with any comments, questions, or concerns.

Thank you,
Joel

Attachment: 0001-Add-Swap-Reverse-to-math-delimiter-dialog.patch
Description: Binary data

Reply via email to